Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DimGroup ¶ added in v1.6.0
type DimGroup struct {
// contains filtered or unexported fields
}
DimGroup represents a group of dimensions for
func CountryDim ¶ added in v1.6.0
func CountryDim() *DimGroup
func (*DimGroup) And ¶ added in v1.6.0
And creates a new DimGroup that adds the given dim to the existing ones in the group.
func (*DimGroup) Gauge ¶ added in v1.6.0
func (dg *DimGroup) Gauge(key string) *UpdateBuilder
func (*DimGroup) Increment ¶ added in v1.6.0
func (dg *DimGroup) Increment(key string) *UpdateBuilder
func (*DimGroup) String ¶ added in v1.6.0
String returns a string representation of this DimGroup with keys in alphabetical order, making it suitable for using as a key representing this DimGroup.
func (*DimGroup) WithCountry ¶ added in v1.6.0
type UpdateBuilder ¶
type UpdateBuilder struct {
// contains filtered or unexported fields
}
UpdateBuilder is an intermediary data structure used in preparing an update for submission to statreporter.
func (*UpdateBuilder) Add ¶
func (b *UpdateBuilder) Add(val int64)
func (*UpdateBuilder) Set ¶
func (b *UpdateBuilder) Set(val int64)
Click to show internal directories.
Click to hide internal directories.