Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RegisterParams ¶
type RegisterParams struct { fx.In GRPCServer *grpc.Server HTTPServer *shttp.Server GRPCConfig *sgrpc.Config Logger *zap.Logger Tracer opentracing.Tracer Location *location.Location }
RegisterParams for gRPC.
type Server ¶
type Server struct { v2.UnimplementedServiceServer // contains filtered or unexported fields }
Server for gRPC.
func (*Server) GetLocation ¶
func (s *Server) GetLocation(ctx context.Context, req *v2.GetLocationRequest) (*v2.GetLocationResponse, error)
GetLocation for gRPC.
Click to show internal directories.
Click to hide internal directories.