Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGRPCServer)
ProviderSet is server providers.
Functions ¶
func NewGRPCServer ¶
func NewGRPCServer(cfg *app.ServerConfig, svc *service.UserServiceServer) *grpc.Server
NewGRPCServer creates a gRPC server
func NewHTTPServer ¶
func NewHTTPServer(c *app.ServerConfig) *http.Server
NewHTTPServer creates a HTTP server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.