services

package
v0.1.1-0...-bf813a4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: OSL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsService

type AccountsService interface {
	GetTrustlines(ctx context.Context, accountID string) ([]xdr.Asset, error)
	GetLastRequestTimestamp(ctx context.Context, accountID string) (time.Time, error)
	FundCredit(ctx context.Context, request *entities.FundCreditRequest) (string, error)
	CheckConnection(ctx context.Context) error
}

AccountsService is the service for account domain

func NewAccountsService

func NewAccountsService(config *configs.FaucetServer) AccountsService

NewAccountsService initializes the AccountsService instance

Directories

Path Synopsis
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.

Jump to

Keyboard shortcuts

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