Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewHTTPServer, NewGRPCServer)
ProviderSet is server providers.
Functions ¶
func NewGRPCServer ¶
func NewGRPCServer(cfg *conf.Bootstrap, logger log.Logger, accountSvc *service.AccountService, accountUserSvc *service.AccountUserService) *grpc.Server
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
func NewHTTPServer(cfg *conf.Bootstrap, logger log.Logger, accountSvc *service.AccountService) *http.Server
NewHTTPServer new a HTTP server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.