Documentation ¶
Index ¶
Constants ¶
View Source
const ( NodeModeCluster = "cluster" NodeModelSingle = "single" )
NodeModeCluster ...
View Source
const ConfigName = "service.json"
ConfigName ...
Variables ¶
View Source
var ( DefaultFolder = ".service" DefaultPath string )
DefaultFolder ...
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { API api.Config `json:"api"` Conversion ConversionConfig `json:"conversion"` }
Config ...
type ConversionConfig ¶
type ConversionConfig struct { Tmp string `json:"tmp"` Cache string `json:"cache"` Limit int `json:"limit"` Mode string `json:"mode"` Addr string `json:"addr"` Username string `json:"username"` Password string `json:"password"` SingleAddr string `json:"node_addr"` ClusterAddr string `json:"cluster_addr"` }
ConversionConfig ...
Click to show internal directories.
Click to hide internal directories.