Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConsulServName string = "SailCraft-CassandraSvr" ConsulHealthCheckUrlFmt string = "http://%s:%d/CassandraSvr/healthCheck" )
Variables ¶
View Source
var ( ConsulServInstanceID string ConsulClient *api.Client )
Functions ¶
func GetCassandraMillionSeconds ¶
func GetCassandraMillionSeconds() int64
func QueryGeoInfo ¶
Types ¶
type CassandraConfS ¶
type ConfigMgr ¶
type ConfigMgr struct { ConfigData *ConfigS ConfigFile string // contains filtered or unexported fields }
var (
GConfig *ConfigMgr
)
func (*ConfigMgr) ParseConfig ¶
type ConfigS ¶
type ConfigS struct { CassandraConf CassandraConfS `json:"CassandraConf"` GeoIpConf string `json:"GeoIpMmdb"` }
Click to show internal directories.
Click to hide internal directories.