locator

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

package locator represents simple Service Locator pattern.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locator

type Locator struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, cfg *config.Config, logger *zerolog.Logger) *Locator

func (*Locator) BlockchainService

func (loc *Locator) BlockchainService() *blockchain.Service

func (*Locator) DB

func (loc *Locator) DB() *pg.Connection

func (*Locator) EventBus

func (loc *Locator) EventBus() *bus.PubSub

func (*Locator) GoogleAuth

func (loc *Locator) GoogleAuth() *auth.GoogleOAuthManager

func (*Locator) JobLogger

func (loc *Locator) JobLogger() *log.JobLogger

func (*Locator) KMSClient

func (loc *Locator) KMSClient() *client.KMSInternalAPI

func (*Locator) Locker

func (loc *Locator) Locker() *lock.Locker

func (*Locator) MerchantService

func (loc *Locator) MerchantService() *merchant.Service

func (*Locator) PaymentService

func (loc *Locator) PaymentService() *payment.Service

func (*Locator) ProcessingService

func (loc *Locator) ProcessingService() *processing.Service

func (*Locator) RegistryService

func (loc *Locator) RegistryService() *registry.Service

func (*Locator) Repository

func (loc *Locator) Repository() *repository.Queries

func (*Locator) Store

func (loc *Locator) Store() *repository.Store

func (*Locator) TatumProvider

func (loc *Locator) TatumProvider() *tatum.Provider

func (*Locator) TokenManagerService

func (loc *Locator) TokenManagerService() *auth.TokenAuthManager

func (*Locator) TransactionService

func (loc *Locator) TransactionService() *transaction.Service

func (*Locator) TrongridProvider

func (loc *Locator) TrongridProvider() *trongrid.Provider

func (*Locator) UserService

func (loc *Locator) UserService() *user.Service

func (*Locator) WalletService

func (loc *Locator) WalletService() *wallet.Service

Jump to

Keyboard shortcuts

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