Documentation ¶
Overview ¶
package locator represents simple Service Locator pattern.
Index ¶
- type Locator
- func (loc *Locator) BlockchainService() *blockchain.Service
- func (loc *Locator) DB() *pg.Connection
- func (loc *Locator) EventBus() *bus.PubSub
- func (loc *Locator) GoogleAuth() *auth.GoogleOAuthManager
- func (loc *Locator) JobLogger() *log.JobLogger
- func (loc *Locator) KMSClient() *client.KMSInternalAPI
- func (loc *Locator) Locker() *lock.Locker
- func (loc *Locator) MerchantService() *merchant.Service
- func (loc *Locator) PaymentService() *payment.Service
- func (loc *Locator) ProcessingService() *processing.Service
- func (loc *Locator) RegistryService() *registry.Service
- func (loc *Locator) Repository() *repository.Queries
- func (loc *Locator) Store() *repository.Store
- func (loc *Locator) TatumProvider() *tatum.Provider
- func (loc *Locator) TokenManagerService() *auth.TokenAuthManager
- func (loc *Locator) TransactionService() *transaction.Service
- func (loc *Locator) TrongridProvider() *trongrid.Provider
- func (loc *Locator) UserService() *user.Service
- func (loc *Locator) WalletService() *wallet.Service
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 (*Locator) BlockchainService ¶
func (loc *Locator) BlockchainService() *blockchain.Service
func (*Locator) DB ¶
func (loc *Locator) DB() *pg.Connection
func (*Locator) GoogleAuth ¶
func (loc *Locator) GoogleAuth() *auth.GoogleOAuthManager
func (*Locator) KMSClient ¶
func (loc *Locator) KMSClient() *client.KMSInternalAPI
func (*Locator) MerchantService ¶
func (*Locator) PaymentService ¶
func (*Locator) ProcessingService ¶
func (loc *Locator) ProcessingService() *processing.Service
func (*Locator) RegistryService ¶
func (*Locator) Repository ¶
func (loc *Locator) Repository() *repository.Queries
func (*Locator) Store ¶
func (loc *Locator) Store() *repository.Store
func (*Locator) TatumProvider ¶
func (*Locator) TokenManagerService ¶
func (loc *Locator) TokenManagerService() *auth.TokenAuthManager
func (*Locator) TransactionService ¶
func (loc *Locator) TransactionService() *transaction.Service
func (*Locator) TrongridProvider ¶
func (*Locator) UserService ¶
func (*Locator) WalletService ¶
Click to show internal directories.
Click to hide internal directories.