Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Path string `json:"-"` API APIConfig `json:"api"` Peer PeerConfig `json:"peer"` }
type PeerConfig ¶
type PeerConfig struct { AnnounceHostname string `json:"hostname,omitempty" envconfig:"HOSTNAME"` BootstrapKeys []string `json:"bootstrapKeys,omitempty" envconfig:"BOOTSTRAP_KEYS"` BootstrapAddresses []string `json:"bootstrapAddresses,omitempty" envconfig:"BOOTSTRAP_ADDRESSES"` EnableMetrics bool `json:"metrics,omitempty" envconfig:"METRICS"` IdentityKey crypto.PrivateKey `json:"identityKey,omitempty" envconfig:"IDENTITY_KEY"` PeerKey crypto.PrivateKey `json:"peerKey,omitempty" envconfig:"KEY"` TCPPort int `json:"tcpPort,omitempty" envconfig:"TCP_PORT"` RelayAddresses []crypto.PublicKey `json:"relayAddresses,omitempty" envconfig:"RELAY_ADDRESSES"` ContentTypes []string `json:"contentTypes,omitempty" envconfig:"CONTENT_TYPES"` }
nolint: lll
Click to show internal directories.
Click to hide internal directories.