Documentation
¶
Index ¶
Constants ¶
View Source
const DEF_INSTID_HASH_METHOD = "sha256"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInstanceId ¶
type ClientInstanceId string
ClientInstanceId
func (*ClientInstanceId) Hash ¶
func (c *ClientInstanceId) Hash(inputMethod string) *ClientInstanceIdHash
func (*ClientInstanceId) String ¶
func (c *ClientInstanceId) String() string
type ClientInstanceIdHash ¶
func (*ClientInstanceIdHash) Match ¶
func (c *ClientInstanceIdHash) Match(m *ClientInstanceIdHash) bool
func (*ClientInstanceIdHash) String ¶
func (c *ClientInstanceIdHash) String() string
type TelemetryAuthToken ¶
type TelemetryAuthToken string
TelemetryAuthToken is a string holding an encoded auth token value
func (*TelemetryAuthToken) String ¶
func (t *TelemetryAuthToken) String() string
func (TelemetryAuthToken) Valid ¶
func (t TelemetryAuthToken) Valid() bool
type TelemetryBlob ¶
type TelemetryBlob struct {
// contains filtered or unexported fields
}
func NewTelemetryBlob ¶
func NewTelemetryBlob(jsonBlob []byte) *TelemetryBlob
func (*TelemetryBlob) Bytes ¶
func (tb *TelemetryBlob) Bytes() []byte
func (*TelemetryBlob) CheckLimits ¶
func (tb *TelemetryBlob) CheckLimits() error
func (*TelemetryBlob) String ¶
func (tb *TelemetryBlob) String() string
func (*TelemetryBlob) Valid ¶
func (tb *TelemetryBlob) Valid() error
type TelemetryClass ¶
type TelemetryClass int64
const ( MANDATORY_TELEMETRY TelemetryClass = iota OPT_OUT_TELEMETRY OPT_IN_TELEMETRY )
func (*TelemetryClass) String ¶
func (tc *TelemetryClass) String() string
type TelemetryTimeStamp ¶
func Now ¶
func Now() TelemetryTimeStamp
func TimeStampFromString ¶
func TimeStampFromString(tsString string) (ts TelemetryTimeStamp, err error)
func (TelemetryTimeStamp) String ¶
func (t TelemetryTimeStamp) String() string
type TelemetryType ¶
type TelemetryType string
TelemetryType is a string of the format "<family>-<stream>-<subtype>"
func (*TelemetryType) Set ¶
func (t *TelemetryType) Set(value string) error
func (*TelemetryType) String ¶
func (t *TelemetryType) String() string
func (TelemetryType) Valid ¶
func (t TelemetryType) Valid() (bool, error)
Click to show internal directories.
Click to hide internal directories.