Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
func (*Server) CallBackRegiser ¶
func (s *Server) CallBackRegiser()
type ServerOptions ¶
type ServerOptions func(*Server)
定义 ServerOptions func
func WithRegisterFunc ¶
func WithRegisterFunc(serviceRegistrar func(grpc.ServiceRegistrar)) ServerOptions
func WithServerAddress ¶
func WithServerAddress(address string) ServerOptions
func WithServerNetwork ¶
func WithServerNetwork(network string) ServerOptions
func WithTracing ¶
func WithTracing(tracing bool) ServerOptions
Click to show internal directories.
Click to hide internal directories.