Documentation ¶
Overview ¶
Package grpcserver implements gRPC server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
Option -.
func StreamInterceptor ¶
func StreamInterceptor(interceptor grpc.StreamServerInterceptor) Option
StreamInterceptor -.
func UnaryInterceptor ¶
func UnaryInterceptor(interceptor grpc.UnaryServerInterceptor) Option
UnaryInterceptor -.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server -.
func (*Server) RegisterService ¶
func (s *Server) RegisterService(desc *grpc.ServiceDesc, impl interface{})
Click to show internal directories.
Click to hide internal directories.