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 Metrics *prometheus.ClientCollector Server v1.ServiceServer }
RegisterParams for gRPC.
type Server ¶
type Server struct { v1.UnimplementedServiceServer // contains filtered or unexported fields }
Server for gRPC.
func (*Server) GenerateIdentifiers ¶ added in v1.8.0
func (s *Server) GenerateIdentifiers(ctx context.Context, req *v1.GenerateIdentifiersRequest) (*v1.GenerateIdentifiersResponse, error)
GetIdentifiers for gRPC.
func (*Server) MapIdentifiers ¶ added in v1.8.0
func (s *Server) MapIdentifiers(ctx context.Context, req *v1.MapIdentifiersRequest) (*v1.MapIdentifiersResponse, error)
MapIdentifiers for gRPC.
type ServerParams ¶
type ServerParams struct { fx.In GeneratorConfig *generator.Config MapperConfig *mapper.Config Generators generator.Generators }
ServerParams for gRPC.
Click to show internal directories.
Click to hide internal directories.