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