All checks were successful
ci/woodpecker/push/build Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
23 lines
539 B
Go
23 lines
539 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 NewTestNoAuthRPCImpl() *TestNoAuthServer {
|
|
return &TestNoAuthServer{}
|
|
}
|
|
|
|
type TestNoAuthServer struct {
|
|
test.UnimplementedTestNoAuthServiceServer
|
|
}
|
|
|
|
func (t *TestNoAuthServer) Ping(ctx context.Context, in *test.PingRequest) (*test.PingResponse, error) {
|
|
log := logger.FromContext(ctx)
|
|
log.Info("Ping")
|
|
return &test.PingResponse{}, nil
|
|
}
|