Documentation ¶
Index ¶
- type Deps
- func (i *Deps) ConsumeLogoutService() rabbit.ConsumeLogoutService
- func (i *Deps) HttpClient() httpx.HTTPClient
- func (i *Deps) ImageRepository() image.ImageRepository
- func (i *Deps) ImageService() image.ImageService
- func (i *Deps) Logger() log.LogRusEntry
- func (i *Deps) RedisClient() redisx.RedisClient
- func (i *Deps) SecurityRepository() security.SecurityRepository
- func (i *Deps) SecurityService() security.SecurityService
- type Injector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct { CurrLog log.LogRusEntry CurrRedisClient redisx.RedisClient CurrHttpClient httpx.HTTPClient CurrImageRepo image.ImageRepository CurrImageSvc image.ImageService CurrSecRepo security.SecurityRepository CurrSecSvc security.SecurityService CurrConsume rabbit.ConsumeLogoutService }
func (*Deps) ConsumeLogoutService ¶
func (i *Deps) ConsumeLogoutService() rabbit.ConsumeLogoutService
func (*Deps) HttpClient ¶
func (i *Deps) HttpClient() httpx.HTTPClient
func (*Deps) ImageRepository ¶
func (i *Deps) ImageRepository() image.ImageRepository
func (*Deps) ImageService ¶
func (i *Deps) ImageService() image.ImageService
func (*Deps) Logger ¶
func (i *Deps) Logger() log.LogRusEntry
func (*Deps) RedisClient ¶
func (i *Deps) RedisClient() redisx.RedisClient
func (*Deps) SecurityRepository ¶
func (i *Deps) SecurityRepository() security.SecurityRepository
func (*Deps) SecurityService ¶
func (i *Deps) SecurityService() security.SecurityService
type Injector ¶
type Injector interface { Logger() log.LogRusEntry RedisClient() redisx.RedisClient HttpClient() httpx.HTTPClient ImageRepository() image.ImageRepository ImageService() image.ImageService SecurityRepository() security.SecurityRepository SecurityService() security.SecurityService ConsumeLogoutService() rabbit.ConsumeLogoutService }
func NewInjector ¶
func NewInjector(log log.LogRusEntry) Injector
Click to show internal directories.
Click to hide internal directories.