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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StellarService

type StellarService interface {
	GetTrustlines(ctx context.Context, address string) ([]xdr.Asset, error)
	FundCredit(ctx context.Context, request *entities.FundCreditRequest) (string, error)
	FundMinions(ctx context.Context) error
	GetAccount(ctx context.Context, accountID string) (txnbuild.Account, error)
	SubmitTx(ctx context.Context, transactionXDR string) (string, error)
}

StellarService accounts for any services related to Stellar network

func NewStellarService

func NewStellarService(config *configs.FaucetServer) StellarService

NewStellarService initializes a new StellarService 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