Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder interface {
AddExtensionIntegerValue(key string, value int)
AddExtensionStringValue(key string, value string)
AddExtensionBoolValue(key string, value bool)
}
Recorder is satisfied by analytics.Analytics.
type RecorderFake ¶
type RecorderFake struct {
IntValues map[string]int
StringValues map[string]string
BoolValues map[string]bool
}
RecorderFake is a simple in-memory Recorder for use in tests.
func (*RecorderFake) AddExtensionBoolValue ¶
func (r *RecorderFake) AddExtensionBoolValue(key string, value bool)
func (*RecorderFake) AddExtensionIntegerValue ¶
func (r *RecorderFake) AddExtensionIntegerValue(key string, value int)
func (*RecorderFake) AddExtensionStringValue ¶
func (r *RecorderFake) AddExtensionStringValue(key string, value string)
Click to show internal directories.
Click to hide internal directories.