Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(conf vcs.Configurator) v1.ConfiguratorServiceServer
NewServer for gRPC.
Types ¶
type RegisterParams ¶
type RegisterParams struct { fx.In GRPCServer *grpc.Server HTTPServer *http.Server Config *tgrpc.Config Logger *zap.Logger Configurator vcs.Configurator }
RegisterParams for gRPC.
type Server ¶
type Server struct { v1.UnimplementedConfiguratorServiceServer // 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.
Click to show internal directories.
Click to hide internal directories.