Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ConfigPath is the ENV variable that will be looked for if not existent
ConfigPath = "ROSETTA_DGB_CONFIG_PATH"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { NetworkIdentifier NetworkIdentifier `yaml:"network_identifier"` Currency Currency `yaml:"currency"` Server Server `yaml:"server"` Node Node `yaml:"node"` Version Version `yaml:"version"` }
Config is the overall configuration for this service layer
type NetworkIdentifier ¶
type NetworkIdentifier struct { Blockchain string `yaml:"blockchain"` Network string `yaml:"network"` }
NetworkIdentifier specifies a blockchain network it will run on
type Node ¶
type Node struct { Endpoint string `yaml:"endpoint"` TLSEnabled bool `yaml:"tlsEnabled"` Username string `yaml:"username"` Password string `yaml:"password"` }
Node specifies the connection details towards a given node
Click to show internal directories.
Click to hide internal directories.