Example #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)
	})
}
Example #2
0
File: io.go Project: 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)
		}
	})
}
Example #3
0
func init() {
	wcg.RegisterProcessConfig(DataStoreConfig, "gae.datastore", nil)
	gae.RegisterLogDataSchema(&DatastoreOperation{})
}
Example #4
0
func init() {
	wcg.RegisterProcessConfig(AppConfig, "rakugaki", nil)
	wcg.ConfigureProcess("wcg.ini")
	startServer()
}
Example #5
0
func init() {
	wcg.RegisterProcessConfig(tweetStreamConfig, "speedland.jobs.tweetstream", nil)
}
Example #6
0
func init() {
	wcg.RegisterProcessConfig(PingConfig, "speedland.jobs.ping", nil)
}
Example #7
0
func init() {
	wcg.RegisterProcessConfig(StatsdConfig, "speedland.jobs.statsd", nil)
}
Example #8
0
func init() {
	wcg.RegisterProcessConfig(Config, "speedland", nil)
}
Example #9
0
func init() {
	wcg.RegisterProcessConfig(AlertConfig, "speedland.alert", nil)
}
Example #10
0
func init() {
	wcg.RegisterProcessConfig(InfluxConfig, "speedland.models.influxconfig", nil)
	influxSource, _ = os.Hostname()
}
Example #11
0
func init() {
	wcg.RegisterProcessConfig(TrackingCode, "speedland.tracking", nil)
}
Example #12
0
func init() {
	wcg.RegisterProcessConfig(MemcacheConfig, "gae.memcache", nil)
	gae.RegisterLogDataSchema(&MemcacheOperation{})
}