Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( New, Params{}, )
Set is a Wire provider set that produces a *Server.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
Config Config
Services []ServiceImpl
Interceptors []grpc.UnaryServerInterceptor
}
Params is a set of parameters for New.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a grpc server with basic functionalities.
func (*Server) ListenAndServe ¶
ListenAndServe starts the server.
type ServiceImpl ¶
ServiceImpl is a server implementing a gRPC service.
Click to show internal directories.
Click to hide internal directories.