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