package
0.0.0-20210318211101-2bc12df73e84
Repository: https://github.com/puppetlabs/wash.git
Documentation: pkg.go.dev

# Functions

GetClient retrieves the analytics client from the provided context.
GetConfig returns Wash's analytics config, which is located at $HOME/.puppetlabs/wash/analytics.yaml.
NewClient returns a new Google Analytics client for submitting Wash analytics.

# Constants

ClientKey is used to identify an analytics client in a context.
FlushDuration represents the amount of time of a typical Client#Flush operation.

# Structs

Config represents Wash's Google Analytics Config.

# Interfaces

Client represents a Google Analytics client.

# Type aliases

KeyType is used to type keys for looking up context values.
Params represents additional measurement protocol parameters to pass into Client#Screenview or Client#Event.