Documentation ¶
Index ¶
- Variables
- func NewGRPCServer(c *conf.Server, logger log.Logger, authService *service.AuthService) *grpc.Server
- func NewGinServer(authService *service.AuthService) *gin.Engine
- func NewHTTPServer(c *conf.Server, logger log.Logger, authService *service.AuthService, ...) *http.Server
- func NewOAuthServer() *server.Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewHTTPServer, NewGRPCServer, NewOAuthServer, NewGinServer)
ProviderSet is server providers.
Functions ¶
func NewGRPCServer ¶
func NewGRPCServer(c *conf.Server, logger log.Logger, authService *service.AuthService) *grpc.Server
NewGRPCServer new a gRPC server.
func NewGinServer ¶
func NewGinServer(authService *service.AuthService) *gin.Engine
func NewHTTPServer ¶
func NewHTTPServer(c *conf.Server, logger log.Logger, authService *service.AuthService, router *gin.Engine) *http.Server
NewHTTPServer new a HTTP server.
func NewOAuthServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.