Documentation ¶
Overview ¶
Package cvzservice provides a service registrar.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCServicer ¶
type GRPCServicer interface {
Register(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error
}
GRPCServicer is an interface for registering a gRPC service.
type IServiceServer ¶
IServiceServer is a service registrar.
type ServiceServer ¶
type ServiceServer struct {
// contains filtered or unexported fields
}
ServiceServer is a gRPC server that registers services.
func NewDefault ¶
func NewDefault() *ServiceServer
NewDefault returns a new service registrar with default options.
func (*ServiceServer) AsServer ¶
func (s *ServiceServer) AsServer() *grpc.Server
AsServer returns the underlying gRPC server.
Click to show internal directories.
Click to hide internal directories.