package
0.11.5
Repository: https://github.com/tmpim/caddy.git
Documentation: pkg.go.dev

# Functions

Add adds amount to a value named key.
Append appends value to a list named key.
AppendUnique adds value to a set named key.
FastHash hashes input using a 32-bit hashing algorithm that is fast, and returns the hash as a hex-encoded string.
Increment is a shortcut for Add(key, 1).
Init initializes this package so that it may be used.
Reset empties the current payload buffer.
Set puts a value in the buffer to be included in the next emission.
SetNested puts a value in the buffer to be included in the next emission, nested under the top-level key as subkey.
StartEmitting sends the current payload and begins the transmission cycle for updates.
StopEmitting sends the current payload and terminates the update cycle.

# Structs

Payload is the data that gets sent to the telemetry server.
Response contains the body of a response from the telemetry server.