Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGRPCServer, NewHTTPServer)
ProviderSet is server providers.
Functions ¶
func HealthHandler ¶ added in v1.1.0
func HealthHandler(svc *service.GameService) *http.ServeMux
func NewGRPCServer ¶
func NewGRPCServer( c *conf.Bootstrap, svc *service.GameService, rds redis.UniversalClient, ) *grpc.Server
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
func NewHTTPServer( c *conf.Bootstrap, svc *service.GameService, rds redis.UniversalClient, ) *http.Server
NewHTTPServer new a HTTP server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.