Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wrapper the grpc server.
func (*Server) AppendGRPCInterceptors ¶
func (s *Server) AppendGRPCInterceptors(opts ...grpc.ServerOption)
AppendGRPCInterceptors appending interceptors as grpc server options.
func (*Server) GracefulShutdown ¶
GracefulShutdown close the underlying grpc server gracefully.
func (*Server) GrpcServer ¶
GrpcServer returns the underlying grpc server.
Click to show internal directories.
Click to hide internal directories.