Documentation ¶
Index ¶
- func BasicCounterEvent(origin string) *events.Envelope
- func BasicLegacyLogMessage() []byte
- func BasicLegacyLogMessageEnvelope() *logmessage.LogEnvelope
- func BasicLogMessageEnvelope(origin string, appID string) *events.Envelope
- func BasicValueMetric() []byte
- func BasicValueMetricEnvelope(origin string) *events.Envelope
- type LegacyLogGenerator
- type LogMessageGenerator
- type ValueMetricGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicCounterEvent ¶
func BasicLegacyLogMessage ¶
func BasicLegacyLogMessage() []byte
func BasicLegacyLogMessageEnvelope ¶
func BasicLegacyLogMessageEnvelope() *logmessage.LogEnvelope
func BasicLogMessageEnvelope ¶
func BasicValueMetric ¶
func BasicValueMetric() []byte
Types ¶
type LegacyLogGenerator ¶
type LegacyLogGenerator struct{}
func NewLegacyLogGenerator ¶
func NewLegacyLogGenerator() *LegacyLogGenerator
func (*LegacyLogGenerator) Generate ¶
func (*LegacyLogGenerator) Generate() []byte
type LogMessageGenerator ¶
type LogMessageGenerator struct {
// contains filtered or unexported fields
}
func NewLogMessageGenerator ¶
func NewLogMessageGenerator(appID string) *LogMessageGenerator
func (*LogMessageGenerator) Generate ¶
func (l *LogMessageGenerator) Generate() []byte
type ValueMetricGenerator ¶
type ValueMetricGenerator struct{}
func NewValueMetricGenerator ¶
func NewValueMetricGenerator() *ValueMetricGenerator
func (*ValueMetricGenerator) Generate ¶
func (*ValueMetricGenerator) Generate() []byte
Click to show internal directories.
Click to hide internal directories.