Documentation ¶
Index ¶
Constants ¶
View Source
const (
VERSION = "0.0.4"
)
Variables ¶
View Source
var (
ConfigFile string
)
Functions ¶
func ParseConfig ¶
func ParseConfig(cfg string)
Types ¶
type Cluster ¶
type DatabaseConfig ¶
type GlobalConfig ¶
type GlobalConfig struct { Debug bool `json:"debug"` Http *HttpConfig `json:"http"` Database *DatabaseConfig `json:"database"` Api *ApiConfig `json:"api"` }
func Config ¶
func Config() *GlobalConfig
type HttpConfig ¶
type SafeClusterMonitorItems ¶
key: Id+LastUpdate
func NewClusterMonitorItems ¶
func NewClusterMonitorItems() *SafeClusterMonitorItems
func (*SafeClusterMonitorItems) Get ¶
func (this *SafeClusterMonitorItems) Get() map[string]*Cluster
func (*SafeClusterMonitorItems) Init ¶
func (this *SafeClusterMonitorItems) Init(m map[string]*Cluster)
Click to show internal directories.
Click to hide internal directories.