Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CMUXServer ¶
type CMUXServer struct { *Option // contains filtered or unexported fields }
func NewCMUX ¶
func NewCMUX(endpoint string, registers []serverGRPC.Register, opts ...OptionFunc) *CMUXServer
func (*CMUXServer) Close ¶
func (s *CMUXServer) Close() (err error)
func (*CMUXServer) Start ¶
func (s *CMUXServer) Start() (err error)
type OptionFunc ¶
type OptionFunc func(*Option)
func WithHTTP ¶
func WithHTTP(httpServer *http.Server, registerHTTP RegisterHTTP) OptionFunc
type RegisterHTTP ¶
Click to show internal directories.
Click to hide internal directories.