Documentation ¶
Overview ¶
Package grpcserver implements handy wrap around gRPC server to group common settings and tasks inside single entity.
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 wraps gRPC server entity and handy means to simplify work with it.
func New ¶
func New(address, crtPath, keyPath string, opts ...grpc.ServerOption) (*Server, error)
NewSecureServer creates new instance of gRPC server operating over SSL.
func (*Server) Instance ¶
Instance grants access to the underlying gRPC server. Should be used to attach new API services.
Click to show internal directories.
Click to hide internal directories.