Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { Config *config.Config Logger *zerolog.Logger Bundle *i18n.Bundle DB *gorm.DB WebsocketPool *websocket.Pool HttpClient *resty.Client OauthProviders map[string]oauth.Provider GeocodingProviders map[string]geocoding.Provider SmtpSender smtp.Sender TemplateEngine template.Engine Cache struct { RDB redis.UniversalClient Manager cache.Manager } S3 struct { Minio *minio.Client Client s3.Client } PubSub struct { RDB redis.UniversalClient Agent pubsub.Agent } Repos *Repositories SVCs *Services Handlers Handlers }
func NewContainer ¶
func NewContainer() *Container
func (*Container) MustInitialize ¶
type Handlers ¶
type Handlers []handler.ApiHandler
type Repositories ¶
type Repositories struct { User repo.UserRepository BannedToken repo.BannedTokenRepository MasterProfile repo.MasterProfileRepository }
type Services ¶
type Services struct { Account service.AccountService Auth service.AuthService Geocoding service.GeocodingService Health service.HealthService MasterProfile service.MasterProfileService Resource service.ResourceService Websocket service.WebsocketService }
Click to show internal directories.
Click to hide internal directories.