Documentation ¶
Overview ¶
Package cvzruntime provides the runtime layer for the service.
Package cvzruntime provides the runtime layer for the service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(ctx context.Context, mux IServeMux, service cvzservice.GRPCServicer, endpoint string, opts []grpc.DialOption) error
RegisterService registers a service with the runtime.
Types ¶
type IServeMux ¶
IServeMux is an interface for a runtime mux.
func NewServeMux ¶
func NewServeMux(opts ...runtime.ServeMuxOption) IServeMux
NewServeMux creates a new runtime mux.
type ServeMux ¶
type ServeMux struct {
// contains filtered or unexported fields
}
ServeMux is a runtime mux.
func (*ServeMux) AsRuntimeMux ¶
AsRuntimeMux returns the underlying runtime mux.
Click to show internal directories.
Click to hide internal directories.