示例#1
0
func init() {
	wcg.RegisterProcessConfig(Pt1Config, "speedland.jobs.recorder.pt1", func(c interface{}) {
		cfg := c.(*pt1Config)
		cfg.Recpt1Path = util.AbsPath(cfg.Recpt1Path)
		cfg.StoragePath = util.AbsPath(cfg.StoragePath)
	})
}
示例#2
0
文件: io.go 项目: speedland/wcg
func UseFileConfig() {
	wcg.RegisterProcessConfig(LogSinkFileConfig, "wcg.logging.file", func(c interface{}) {
		sink := NewIOLogSinkFromConfig(LogSinkFileConfig)
		if sink != nil {
			wcg.LogConfig.AddSink(sink, LogSinkFileConfig.Level)
		}
	})
}
示例#3
0
func init() {
	wcg.RegisterProcessConfig(DataStoreConfig, "gae.datastore", nil)
	gae.RegisterLogDataSchema(&DatastoreOperation{})
}
示例#4
0
func init() {
	wcg.RegisterProcessConfig(AppConfig, "rakugaki", nil)
	wcg.ConfigureProcess("wcg.ini")
	startServer()
}
示例#5
0
func init() {
	wcg.RegisterProcessConfig(tweetStreamConfig, "speedland.jobs.tweetstream", nil)
}
示例#6
0
文件: ping.go 项目: speedland/agent
func init() {
	wcg.RegisterProcessConfig(PingConfig, "speedland.jobs.ping", nil)
}
示例#7
0
文件: statsd.go 项目: speedland/agent
func init() {
	wcg.RegisterProcessConfig(StatsdConfig, "speedland.jobs.statsd", nil)
}
示例#8
0
文件: package.go 项目: speedland/apps
func init() {
	wcg.RegisterProcessConfig(Config, "speedland", nil)
}
示例#9
0
文件: email.go 项目: speedland/apps
func init() {
	wcg.RegisterProcessConfig(AlertConfig, "speedland.alert", nil)
}
示例#10
0
文件: counter.go 项目: speedland/lib
func init() {
	wcg.RegisterProcessConfig(InfluxConfig, "speedland.models.influxconfig", nil)
	influxSource, _ = os.Hostname()
}
示例#11
0
文件: page.go 项目: speedland/apps
func init() {
	wcg.RegisterProcessConfig(TrackingCode, "speedland.tracking", nil)
}
示例#12
0
文件: memcache.go 项目: speedland/wcg
func init() {
	wcg.RegisterProcessConfig(MemcacheConfig, "gae.memcache", nil)
	gae.RegisterLogDataSchema(&MemcacheOperation{})
}