Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server handles gRPC requests to the service.
func New ¶
NewServer instantiates a listen server. When passing addr with an unspecified port or ":", use Addr().
func (*Server) AddCloseFunc ¶
func (s *Server) AddCloseFunc(f func())
AddCloseFunc adds a function to be called by the Close method. This eliminates the need for wrapping the Server.
Click to show internal directories.
Click to hide internal directories.