Esempio n. 1
0
func init() {
	new := func(_ bool, _ publish.Transactions, _ *ucfg.Config) (protos.Plugin, error) {
		return &TestProtocol{}, nil
	}

	protos.Register("httpTest", new)
	protos.Register("mysqlTest", new)
	protos.Register("redisTest", new)

	httpProtocol = protos.Lookup("httpTest")
	redisProtocol = protos.Lookup("redisTest")
	mysqlProtocol = protos.Lookup("mysqlTest")
}
Esempio n. 2
0
func init() {
	protos.Register("cassandra", New)
}
Esempio n. 3
0
func init() {
	protos.Register("amqp", New)
}
Esempio n. 4
0
func init() {
	protos.Register("dns", New)
}
Esempio n. 5
0
func init() {
	protos.Register("thrift", New)
}
Esempio n. 6
0
func init() {
	protos.Register("memcache", New)
}
Esempio n. 7
0
func init() {
	protos.Register("pgsql", New)
}
Esempio n. 8
0
func init() {
	protos.Register("mongodb", New)
}
Esempio n. 9
0
File: http.go Progetto: urso/beats
func init() {
	protos.Register("http", New)
}
Esempio n. 10
0
func init() {
	protos.Register("redis", New)
}
Esempio n. 11
0
func init() {
	protos.Register("{{ cookiecutter.module }}", New)
}