config

package
v0.0.0-...-66ccf9c 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: 10 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 {
	DepositConfig() DepositConfig
	PaymentConfig() PaymentConfig
	Stellar() horizonclient.ClientInterface
	comfig.Logger
	Horizoner
}

func NewConfig

func NewConfig(getter kv.Getter) Config

type DepositConfig

type DepositConfig struct {
	AdminSigner keypair.Full `fig:"admin_signer"`
}

type Horizoner

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

func NewHorizoner

func NewHorizoner(getter kv.Getter) Horizoner

type PaymentConfig

type PaymentConfig struct {
	TargetAddress string `fig:"target_address"`
}

Jump to

Keyboard shortcuts

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