Documentation

Overview

Package client is used to store the state of the libhoney client that sends all beeline events, and provides wrappers of libhoney API functions that are safe to use even if the client is not initialized.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddField

func AddField(name string, val interface{})

AddField adds the given field at the client level

func Close

func Close()

Close the libhoney client

func Flush

func Flush()

Flush all pending events in the libhoney client

func Get

func Get() *libhoney.Client

Get returns the libhoney client used by the beeline

func NewBuilder

func NewBuilder() *libhoney.Builder

func Set

func Set(c *libhoney.Client)

Set the active libhoney client used by the beeline

func TxResponses

func TxResponses() chan transmission.Response

Types

This section is empty.

Source Files