eventutil

package
v0.0.0-...-31600e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(evt *event.Event, key string, item *event.Value) error

Append appends a value to an existing array. If a non-array value already exists then the value becomes the first element in the new array. This function does not deduplicate.

func EscapeKey

func EscapeKey(key string) string

EscapeKey escapes dots contained in a key. This is non-idempotent (do not use it on a key that is already escaped).

func ReflectValue

func ReflectValue(v interface{}) (*event.Value, error)

Types

type UnsupportedTypeError

type UnsupportedTypeError struct {
	Type reflect.Type
}

func (*UnsupportedTypeError) Error

func (e *UnsupportedTypeError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL