config

package
v0.0.0-...-e73af20 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	WithdrawConfig() WithdrawConfig
	PaymentConfig() PaymentConfig
	Stellar() horizonclient.ClientInterface
	Log() *logan.Entry
	Horizoner
}

func NewConfig

func NewConfig(getter kv.Getter) Config

type Horizoner

type Horizoner interface {
	Horizon() *client.Client
}

func NewHorizoner

func NewHorizoner(getter kv.Getter) Horizoner

type PaymentConfig

type PaymentConfig struct {
	SourceSigner  *keypair.Full
	SourceAddress *keypair.FromAddress
	MaxBaseFee    uint32
}

type WithdrawConfig

type WithdrawConfig struct {
	Signer keypair.Full    `fig:"signer"`
	Owner  keypair.Address `fig:"owner"`
}

Jump to

Keyboard shortcuts

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