Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventChannel chan string = make(chan string, 20) ConsoleOutput bool )
Functions ¶
This section is empty.
Types ¶
type LogstashClient ¶
func NewLogstashClient ¶
func NewLogstashClient(hostname string, port int, socketTimeoutMS int) *LogstashClient
func (*LogstashClient) ReadEventsFromBacklog ¶
func (logstash *LogstashClient) ReadEventsFromBacklog()
func (*LogstashClient) Send ¶
func (logstash *LogstashClient) Send(message string) error
func (*LogstashClient) SendEventToBacklog ¶
func (logstash *LogstashClient) SendEventToBacklog(message string)
Click to show internal directories.
Click to hide internal directories.