Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpGrpcHandler ¶
type HttpGrpcHandler struct { *runtime.ServeMux // Servicer - Is a Servicer interface services.Servicer *logging.Entry CertFile *options.Option CertDomain *options.Option GrpcAddr *options.Option // contains filtered or unexported fields }
HttpGrpcHandler -
func NewHttpGrpcHandler ¶
func NewHttpGrpcHandler(serv services.Servicer, logger *logging.Entry, handler func(context.Context, *runtime.ServeMux, *grpc.ClientConn) error) (*HttpGrpcHandler, error)
NewHttpGrpcHandler - Will return back new HTTP GRPC handler
func (*HttpGrpcHandler) RegisterHandlerTLS ¶
func (hgh *HttpGrpcHandler) RegisterHandlerTLS(handler func(context.Context, *runtime.ServeMux, *grpc.ClientConn) error) error
RegisterHandlerTLS - Will register new TLS
Click to show internal directories.
Click to hide internal directories.