Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts struct {
AuthorizingSeed string `valid:"optional" toml:"authorizing_seed"`
BaseSeed string `valid:"optional" toml:"base_seed"`
IssuingAccountID string `valid:"optional" toml:"issuing_account_id"`
ReceivingAccountID string `valid:"optional" toml:"receiving_account_id"`
}
Accounts contains values of `accounts` config group
type Config ¶
type Config struct {
Port *int `valid:"required"`
Horizon string `valid:"optional"`
Compliance string `valid:"optional"`
LogFormat string `valid:"optional" toml:"log_format"`
MACKey string `valid:"optional" toml:"mac_key"`
APIKey string `valid:"optional" toml:"api_key"`
NetworkPassphrase string `valid:"optional" toml:"network_passphrase"`
Develop bool `valid:"optional"`
Assets []Asset `valid:"optional"`
Database *Database `valid:"optional"`
Accounts Accounts `valid:"optional" toml:"accounts"`
Callbacks Callbacks `valid:"optional" toml:"callbacks"`
}
Config contains config params of the bridge server
Click to show internal directories.
Click to hide internal directories.