Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PeerKey string `json:"peer_key" yaml:"peer_key"`
P2PHost string `json:"p2p_host" yaml:"p2p_host"`
ServePath string `json:"serve_path" yaml:"serve_path"`
Network NetworkConfig `json:"network" yaml:"network"`
DHT DHTConfig `json:"dht" yaml:"dht"`
ACL ACLConfig `json:"acl" yaml:"acl"`
Proxy *ProxyConfig `json:"proxy" yaml:"proxy"`
}
func LoadConfig ¶
type NetworkConfig ¶
type ProxyConfig ¶
Click to show internal directories.
Click to hide internal directories.