예제 #1
0
파일: tcp_test.go 프로젝트: jarpy/beats
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")
}
예제 #2
0
func init() {
	protos.Register("cassandra", New)
}
예제 #3
0
func init() {
	protos.Register("amqp", New)
}
예제 #4
0
파일: dns.go 프로젝트: ChongFeng/beats
func init() {
	protos.Register("dns", New)
}
예제 #5
0
파일: thrift.go 프로젝트: ruflin/beats
func init() {
	protos.Register("thrift", New)
}
예제 #6
0
파일: memcache.go 프로젝트: YaSuenag/hsbeat
func init() {
	protos.Register("memcache", New)
}
예제 #7
0
파일: pgsql.go 프로젝트: ChongFeng/beats
func init() {
	protos.Register("pgsql", New)
}
예제 #8
0
파일: mongodb.go 프로젝트: jarpy/beats
func init() {
	protos.Register("mongodb", New)
}
예제 #9
0
파일: http.go 프로젝트: urso/beats
func init() {
	protos.Register("http", New)
}
예제 #10
0
파일: redis.go 프로젝트: andrewkroh/beats
func init() {
	protos.Register("redis", New)
}
예제 #11
0
func init() {
	protos.Register("{{ cookiecutter.module }}", New)
}