Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StellarRepository ¶
type StellarRepository interface { GetAccountDetail(ctx context.Context, accountID string) (horizon.Account, error) NewFundTransaction(ctx context.Context, sourceAccount txnbuild.Account, destAccount string, credit entities.Credit) (string, error) SubmitTx(ctx context.Context, transactionXDR string) (*horizon.TransactionSuccess, error) FundMinions(ctx context.Context) error }
StellarRepository is a repositories account for connection to Stellar
func NewStellarRepository ¶
func NewStellarRepository(config *configs.FaucetServer) StellarRepository
NewStellarRepository initializes a new StellarRepository instance
Directories ¶
Path | Synopsis |
---|---|
mock
|
|
horizonclient
Package mock_horizonclient is a generated GoMock package.
|
Package mock_horizonclient is a generated GoMock package. |
repositories
Package mock_repositories is a generated GoMock package.
|
Package mock_repositories is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.