initialize

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsumerGetInteractor

func ConsumerGetInteractor(cfg *config.ServiceConfig) *consumerRouters.ConsumerInteractor

ConsumerGetInteractor consumer interactor and related usecase

func CronGetInteractor

func CronGetInteractor(cfg *config.ServiceConfig) *cronRouters.CronInteractor

CronGetInteractor job scheduler interactor and related usecase

func GetConfig

func GetConfig() (cfg config.ServiceConfig)

GetConfig get config by name

func GrpcGetInteractor

func GrpcGetInteractor(cfg *config.ServiceConfig) *grpcRouters.GrpcInteractor

GrpcGetInteractor gRPC get interactor and related usecase

func RestGetInteractor

func RestGetInteractor(cfg *config.ServiceConfig) *restRouters.RestInteractor

RestGetInteractor rest get interactor and related usecase

Types

type ExternalRepo

type ExternalRepo struct{}

func NewExternalModule

func NewExternalModule() *ExternalRepo

func (*ExternalRepo) OMDBInteractor

func (e *ExternalRepo) OMDBInteractor(cfg *config.ServiceConfig) repositories.OMDBRepo

func (*ExternalRepo) SpotifyInteractor

func (e *ExternalRepo) SpotifyInteractor(cfg *config.ServiceConfig) repositories.SpotifyRepo

type ModuleRepo

type ModuleRepo struct{}

func NewBaseModule

func NewBaseModule() *ModuleRepo

func (*ModuleRepo) CacheInteractor

func (m *ModuleRepo) CacheInteractor(cfg *config.ServiceConfig) repositories.CacheRepo

func (*ModuleRepo) CallWrapperInteractor

func (m *ModuleRepo) CallWrapperInteractor(cfg *config.ServiceConfig) repositories.CallWrapperRepo

func (*ModuleRepo) DBInteractor

func (m *ModuleRepo) DBInteractor(cfg *config.ServiceConfig) repositories.DBRepo

func (*ModuleRepo) FirestoreInteractor

func (m *ModuleRepo) FirestoreInteractor(cfg *config.ServiceConfig) repositories.FirestoreRepo

func (*ModuleRepo) HelpersInteractor

func (m *ModuleRepo) HelpersInteractor(cfg *config.ServiceConfig) repositories.HelpersRepo

func (*ModuleRepo) UtilsInteractor

func (m *ModuleRepo) UtilsInteractor() repositories.UtilsRepo

Jump to

Keyboard shortcuts

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