Documentation
¶
Index ¶
- func ConsumerGetInteractor(cfg *config.ServiceConfig) *consumerRouters.ConsumerInteractor
- func CronGetInteractor(cfg *config.ServiceConfig) *cronRouters.CronInteractor
- func GetConfig() (cfg config.ServiceConfig)
- func GrpcGetInteractor(cfg *config.ServiceConfig) *grpcRouters.GrpcInteractor
- func RestGetInteractor(cfg *config.ServiceConfig) *restRouters.RestInteractor
- type ExternalRepo
- type ModuleRepo
- func (m *ModuleRepo) CacheInteractor(cfg *config.ServiceConfig) repositories.CacheRepo
- func (m *ModuleRepo) CallWrapperInteractor(cfg *config.ServiceConfig) repositories.CallWrapperRepo
- func (m *ModuleRepo) DBInteractor(cfg *config.ServiceConfig) repositories.DBRepo
- func (m *ModuleRepo) FirestoreInteractor(cfg *config.ServiceConfig) repositories.FirestoreRepo
- func (m *ModuleRepo) HelpersInteractor(cfg *config.ServiceConfig) repositories.HelpersRepo
- func (m *ModuleRepo) UtilsInteractor() repositories.UtilsRepo
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 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
Click to show internal directories.
Click to hide internal directories.