Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BootstrapEstuaryPeers ¶
BootstrapEstuaryPeers Creating a list of multiaddresses that are used to bootstrap the network.
Types ¶
type DeltaConfig ¶
type DeltaConfig struct { Node struct { Name string `env:"NODE_NAME" envDefault:"edge-ur"` Description string `env:"NODE_DESCRIPTION"` Type string `env:"NODE_TYPE"` DbName string `env:"DB_NAME" envDefault:"edge-ur.db"` Repo string `env:"REPO"` Port int `env:"PORT" envDefault:"1414"` } Delta struct { ApiUrl string `env:"DELTA_NODE_API" envDefault:"http://localhost:1414"` DealCheck int `env:"DEAL_CHECK" envDefault:"600"` ReplicationFactor int `env:"REPLICATION_FACTOR" envDefault:"3"` } }
func InitConfig ¶
func InitConfig() DeltaConfig
Click to show internal directories.
Click to hide internal directories.