Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶ added in v1.2.0
func NewServer(params ServerParams) v1.ServiceServer
NewServer for gRPC.
Types ¶
type RegisterParams ¶
type RegisterParams struct { fx.In Lifecycle fx.Lifecycle GRPC *grpc.Server Mux *runtime.ServeMux Client *v1c.Config Logger *zap.Logger Tracer trace.Tracer Meter metric.Meter Server v1.ServiceServer }
RegisterParams for gRPC.
type Server ¶ added in v1.2.0
type Server struct { v1.UnimplementedServiceServer // contains filtered or unexported fields }
Server for gRPC.
func (*Server) Migrate ¶ added in v1.2.0
func (s *Server) Migrate(ctx context.Context, req *v1.MigrateRequest) (*v1.MigrateResponse, error)
Migrate for gRPC.
Click to show internal directories.
Click to hide internal directories.