Documentation ¶
Index ¶
Constants ¶
View Source
const ( P2P_PORT = 64702 // Port for communication between nodes P2P_PROTOCOL = "feirm.service.1" // Protocol version to be used between different nodes )
==================== Service Layer Daemon ====================
View Source
const ( MAX_MESSAGE_BODY = 102400 // 100KB Limit MAX_TTL = 86400 // 24 hours MAX_CONCURRENCY_LIMIT = 25 )
==================== Messenger Layer ====================
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig() error
Types ¶
type Config ¶
type Config struct { Server struct { Address string `toml:"address"` HttpPort int `toml:"http_port"` Seeds []string `toml:"seeds"` } `toml:"server"` Wallet struct { Username string `toml:"username"` Password string `toml:"password"` Host string `toml:"host"` Port int `toml:"port"` } `toml:"wallet"` }
Click to show internal directories.
Click to hide internal directories.