Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadResponses ¶
func ReadResponses()
ReadResponses is a blocking method that waits for responses from Honeycomb and prints whether the event emission succeeded or failed. Callers will likely want to execute this method in a goroutine due to its blocking, asynchronous, nature.
Types ¶
type Sink ¶
type Sink struct {
// contains filtered or unexported fields
}
func NewSink ¶
func NewSink( honeycombWriteKey string, honeycombDataset string, minLogLevel lager.LogLevel, ) *Sink
NewSink returns a new Sink Callers are expected to call Close() when they are done e.g. sink := NewSink(); defer sink.Close() Callers may also wish to track the responses with ReadResponses()
Click to show internal directories.
Click to hide internal directories.