Documentation ¶ Index ¶ type Server func NewServer(port uint16, opts []grpc.ServerOption) (server *Server, err error) func (s *Server) Addr() string func (s *Server) Close() error func (s *Server) RegistryDesc(services ...transport.Service) func (s *Server) Serve() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { *grpc.Server // contains filtered or unexported fields } func NewServer ¶ func NewServer(port uint16, opts []grpc.ServerOption) (server *Server, err error) func (*Server) Addr ¶ func (s *Server) Addr() string func (*Server) Close ¶ func (s *Server) Close() error func (*Server) RegistryDesc ¶ func (s *Server) RegistryDesc(services ...transport.Service) func (*Server) Serve ¶ func (s *Server) Serve() error Source Files ¶ View all Source files grpc.go Click to show internal directories. Click to hide internal directories.