package
7.6.139
Repository: https://github.com/getlantern/flashlight.git
Documentation: pkg.go.dev

# Functions

Avg creates a value that gets reduced by taking the arithmetic mean of the values.
Begin mimics the similar method from ops.
FromContext extracts an Op from the context, or nil if doesn't exist.
Go mimics the similar method from ops.
InitGlobalContext configures global context info.
Percentile stores individual values so that they can be used in a percentile in the DB.
ProxyNameAndDC extracts the canonical proxy name and datacenter from a given full proxy name.
RegisterReporter mimics the similar method from ops.
SetGlobal mimics the similar method from ops.
SetGlobalDynamic mimics the similar method from ops.
WeightedAvg is like Avg but the value is weighted by a given weight.
WithOp adds an Op to the context to be retrieved later via FromContext.

# Constants

NB - a beam is like a tracing ID and has nothing to do with the application named "beam".
ProxyChained means access through Lantern hosted chained server.
ProxyFronted means access through domain fronting.
ProxyNone means direct access, not proxying at all.

# Structs

Op decorates an ops.Op with convenience methods.

# Interfaces

Val represents a value that can be reduced by a reducing submitter.

# Type aliases

Average holds the total plus a count in order to calculate the arithmatic mean.
Float is an alias for Sum, it is deprecated, using Sum instead.
Max is a float value that gets reduced by taking the highest value.
Min is a float value that gets reduced by taking the lowest value.
ProxyType is the type of various proxy channel.
No description provided by the author
Sum is float value that gets reduced by plain addition.