Ejemplo n.º 1
0
func init() {
	output.Register("elasticsearch", &ESServer{
		host: fmt.Sprintf("%s:%d", defaultHost, time.Now().Unix()),
		term: make(chan bool, 1),
	})
}
Ejemplo n.º 2
0
func init() {
	output.Register("websocket", &WebSocketServer{
		logs: make(map[string]time.Time),
		term: make(chan bool, 1),
	})
}
Ejemplo n.º 3
0
func init() {
	output.Register("tcp", &TCPServer{
		term: make(chan bool, 1),
	})
}