Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
type Callbacks struct { Sanctions string `valid:"optional"` AskUser string `valid:"optional" toml:"ask_user"` FetchInfo string `valid:"optional" toml:"fetch_info"` TxStatus string `valid:"optional" toml:"tx_status"` }
Callbacks contains values of `callbacks` config group
type Config ¶
type Config struct { ExternalPort *int `valid:"required" toml:"external_port"` InternalPort *int `valid:"required" toml:"internal_port"` LogFormat string `valid:"optional" toml:"log_format"` NeedsAuth bool `valid:"optional" toml:"needs_auth"` NetworkPassphrase string `valid:"required" toml:"network_passphrase"` Database Database `valid:"required"` Keys Keys `valid:"required" toml:"keys"` Callbacks Callbacks `valid:"optional" toml:"callbacks"` TLS *config.TLS `valid:"optional"` TxStatusAuth *TxStatusAuth `valid:"optional" toml:"tx_status_auth"` }
Config contains config params of the compliance server
type Keys ¶
type Keys struct {
SigningSeed string `valid:"required" toml:"signing_seed"`
}
Keys contains values of `keys` config group
type TxStatusAuth ¶
Click to show internal directories.
Click to hide internal directories.