Documentation
¶
Index ¶
- type Option
- type Server
- func (s *Server) GracefulStop()
- func (s *Server) HandleConn(ctx context.Context, st stats.ConnStats)
- func (s *Server) HandleRPC(ctx context.Context, st stats.RPCStats)
- func (s *Server) Start() error
- func (s *Server) TagConn(ctx context.Context, i *stats.ConnTagInfo) context.Context
- func (s *Server) TagRPC(ctx context.Context, i *stats.RPCTagInfo) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option = func(s *Server)
func Credentials ¶
func Credentials(tc credentials.TransportCredentials) Option
func ListenAddress ¶
Click to show internal directories.
Click to hide internal directories.