client

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL