Documentation ¶
Index ¶
- func InitializeBetHandler() handlers.BetController
- func InitializeJwtMiddleware() handlers.JwtMiddleware
- func InitializeMatchHandler() handlers.MatchController
- func InitializeTournamentHandler() handlers.TournamentController
- func InitializeUserHandler() handlers.UserController
- type ServiceContainer
- func (sc *ServiceContainer) BetHandler() handlers.BetController
- func (sc *ServiceContainer) JwtMiddleware() handlers.JwtMiddleware
- func (sc *ServiceContainer) MatchHandler() handlers.MatchController
- func (sc *ServiceContainer) TournamentHandler() handlers.TournamentController
- func (sc *ServiceContainer) UserHandler() handlers.UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeBetHandler ¶
func InitializeBetHandler() handlers.BetController
func InitializeJwtMiddleware ¶
func InitializeJwtMiddleware() handlers.JwtMiddleware
func InitializeMatchHandler ¶
func InitializeMatchHandler() handlers.MatchController
func InitializeTournamentHandler ¶
func InitializeTournamentHandler() handlers.TournamentController
func InitializeUserHandler ¶
func InitializeUserHandler() handlers.UserController
Types ¶
type ServiceContainer ¶
type ServiceContainer struct {
// contains filtered or unexported fields
}
func DefaultServiceContainer ¶
func DefaultServiceContainer() *ServiceContainer
func NewServiceContainer ¶
func NewServiceContainer(userHandler handlers.UserController, jwtHandler handlers.JwtMiddleware, ) *ServiceContainer
func (*ServiceContainer) BetHandler ¶
func (sc *ServiceContainer) BetHandler() handlers.BetController
func (*ServiceContainer) JwtMiddleware ¶
func (sc *ServiceContainer) JwtMiddleware() handlers.JwtMiddleware
func (*ServiceContainer) MatchHandler ¶
func (sc *ServiceContainer) MatchHandler() handlers.MatchController
func (*ServiceContainer) TournamentHandler ¶
func (sc *ServiceContainer) TournamentHandler() handlers.TournamentController
func (*ServiceContainer) UserHandler ¶
func (sc *ServiceContainer) UserHandler() handlers.UserController
Click to show internal directories.
Click to hide internal directories.