Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigStruct ¶
type ConfigStruct struct {
Version string `json:"version"`
Identity Identity `json:"identity"`
Ip string `json:"ip"`
LocalServerIp string `json:"local_server_ip"`
RemoteServerIp string `json:"remote_server_ip"`
Id string `json:"id"`
Name string `json:"name"`
Include []string `json:"include"`
Exclude []string `json:"exclude"`
UpdateRate int `json:"update_rate"` // number of seconds between updates
FileTreeFile string `json:"file_tree_file"`
DataDir string `json:"data_dir"`
}
var Config *ConfigStruct = newConfig()
func (*ConfigStruct) Write ¶
func (cfg *ConfigStruct) Write() (err error)
Click to show internal directories.
Click to hide internal directories.