Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.4.2"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fluent ¶
type Fluent struct { Config // contains filtered or unexported fields }
func (*Fluent) Post ¶
Post writes the output for a logging event.
Examples:
// send string f.Post("tag_name", "data") // send map[string] mapStringData := map[string]string{ "foo": "bar", } f.Post("tag_name", mapStringData) // send struct structData := struct { Name string `codec:"name"` } { "john smith", } f.Post("tag_name", structData)
Click to show internal directories.
Click to hide internal directories.