Documentation ¶
Index ¶
- Variables
- func NewGRPCServer(c *conf.Bootstrap, rating *service.RatingService, logger log.Logger) *grpc.Server
- func NewHTTPServer(c *conf.Bootstrap, rating *service.RatingService, _ log.Logger) *http.Server
- func NewLogger() (log.Logger, func())
- func NewNamingClient(_ *conf.Bootstrap) (rr registry.Registrar, err error)
- type ZapLogger
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewNamingClient, NewLogger, NewGRPCServer, NewHTTPServer)
Functions ¶
func NewGRPCServer ¶
func NewGRPCServer(c *conf.Bootstrap, rating *service.RatingService, logger log.Logger) *grpc.Server
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
NewHTTPServer new an HTTP server.
Types ¶
Click to show internal directories.
Click to hide internal directories.