Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server Server `yaml:"server"`
Sql Sql `yaml:"sql"`
DID DID `yaml:"did"`
ServiceList []Services `yaml:"service_list"`
Lightning Lightning `yaml:"lightning"`
IPFS IPFS `yaml:"ipfs"`
ION ION `yaml:"ion"`
Log Log `yaml:"log"`
Key Key `yaml:"key"`
}
func DefaultConfig ¶
func DefaultConfig() Config
type GlobalConfig ¶
func NewGlobalConfig ¶
func NewGlobalConfig(path string, configChangeChan chan interface{}) (GlobalConfig, error)
type Lnd ¶
type Lnd struct {
Ip string `yaml:"ip"`
Port string `yaml:"port"`
PubKey string `yaml:"pub_key"`
TlsCert string `yaml:"tls_cert"`
TlsCertHex string `yaml:"tls_cert_hex"`
AdminMacaroon string `yaml:"admin_macaroon"`
AdminMacaroonHex string `yaml:"admin_macaroon_hex"`
Listening bool `yaml:"listening"`
}
Click to show internal directories.
Click to hide internal directories.