All checks were successful
ci/woodpecker/push/build Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
23 lines
527 B
Go
23 lines
527 B
Go
package v1
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gitea.badhouseplants.net/softplayer/softplayer-backend/internal/tools/logger"
|
|
test "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/test/v1"
|
|
)
|
|
|
|
func NewTestAuthRPCImpl() *TestAuthServer {
|
|
return &TestAuthServer{}
|
|
}
|
|
|
|
type TestAuthServer struct {
|
|
test.UnimplementedTestAuthServiceServer
|
|
}
|
|
|
|
func (t *TestAuthServer) Pong(ctx context.Context, in *test.PongRequest) (*test.PongResponse, error) {
|
|
log := logger.FromContext(ctx)
|
|
log.Info("Pong")
|
|
return &test.PongResponse{}, nil
|
|
}
|