Documentation ¶
Index ¶
- type ByteText
- type Config
- type LoggerConfig
- type Server
- func (s *Server) Router(router func(server *grpc.Server))
- func (s *Server) Run(ctx context.Context) error
- func (s *Server) Shutdown()
- func (s *Server) WithGRPCOption(options ...grpc.ServerOption)
- func (s *Server) WithRegistry(r registry.Registry)
- func (s *Server) WithStatsHandler(handlers ...stats.Handler)
- func (s *Server) WithStreamServerInterceptor(interceptors ...grpc.StreamServerInterceptor)
- func (s *Server) WithUnaryServerInterceptor(interceptors ...grpc.UnaryServerInterceptor)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerConfig ¶
type LoggerConfig struct {
Enable bool
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) WithGRPCOption ¶
func (s *Server) WithGRPCOption(options ...grpc.ServerOption)
func (*Server) WithRegistry ¶
func (*Server) WithStatsHandler ¶
func (*Server) WithStreamServerInterceptor ¶
func (s *Server) WithStreamServerInterceptor(interceptors ...grpc.StreamServerInterceptor)
func (*Server) WithUnaryServerInterceptor ¶
func (s *Server) WithUnaryServerInterceptor(interceptors ...grpc.UnaryServerInterceptor)
Click to show internal directories.
Click to hide internal directories.