Example #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")
}
Example #2
0
func init() {
	protos.Register("cassandra", New)
}
Example #3
0
func init() {
	protos.Register("amqp", New)
}
Example #4
0
func init() {
	protos.Register("dns", New)
}
Example #5
0
func init() {
	protos.Register("thrift", New)
}
Example #6
0
func init() {
	protos.Register("memcache", New)
}
Example #7
0
func init() {
	protos.Register("pgsql", New)
}
Example #8
0
func init() {
	protos.Register("mongodb", New)
}
Example #9
0
File: http.go Project: urso/beats
func init() {
	protos.Register("http", New)
}
Example #10
0
func init() {
	protos.Register("redis", New)
}
func init() {
	protos.Register("{{ cookiecutter.module }}", New)
}