Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RegisterParams ¶
type RegisterParams struct { fx.In Lifecycle fx.Lifecycle GRPCServer *grpc.Server HTTPServer *http.Server GRPCConfig *grpc.Config Logger *zap.Logger Tracer tracer.Tracer Meter metric.Meter Server v1.ServiceServer }
RegisterParams for gRPC.
type Server ¶
type Server struct { v1.UnimplementedServiceServer // contains filtered or unexported fields }
Server for gRPC.
func (*Server) GetConfig ¶
func (s *Server) GetConfig(ctx context.Context, req *v1.GetConfigRequest) (*v1.GetConfigResponse, error)
GetConfig for gRPC.
type ServerParams ¶ added in v1.11.0
type ServerParams struct { fx.In Configurator source.Configurator Transformer *source.Transformer }
ServerParams for gRPC.
Click to show internal directories.
Click to hide internal directories.