Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { *di.Container Config config.Config Logger zerolog.Logger DB *gorm.DB RDB redis.UniversalClient Dialer *gomail.Dialer Consul *api.Client Bundle locale.Bundle TemplateEngine template.Engine Sender smtp.Sender Manager cache.Manager Registry discovery.Registry Scheduler *scheduler.Scheduler Repos *Repositories Providers *Providers SVCs *Services Handlers Handlers }
func NewContainer ¶
type Handlers ¶
type Handlers []handler2.APIHandler
type Providers ¶
type Providers struct { JWT provider.JwtProvider OAuth map[string]provider.OAuthProvider }
type Repositories ¶
type Repositories struct { User repo.UserRepository BannedToken repo.BannedTokenRepository }
type Services ¶
type Services struct { Account service.AccountService Auth service.AuthService Health service.HealthService }
Click to show internal directories.
Click to hide internal directories.