di

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL