eventops

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(e api.Event, from string, to string)

func Del

func Del(e api.Event, key string)

func DelKeys

func DelKeys(e api.Event, keys []string)

func Get

func Get(e api.Event, key string) interface{}

func GetBytes

func GetBytes(e api.Event, key string) []byte

func GetString

func GetString(e api.Event, key string) string

func Move

func Move(e api.Event, from string, to string)

func Set

func Set(e api.Event, key string, val interface{})

func UnderRoot

func UnderRoot(e api.Event, key string)

Types

type Number

type Number struct {
	// contains filtered or unexported fields
}

func GetNumber

func GetNumber(e api.Event, key string) (*Number, error)

func NewNumber

func NewNumber(n interface{}) (*Number, error)

func (*Number) Equal

func (n *Number) Equal(target *Number) bool

func (*Number) Greater

func (n *Number) Greater(target *Number) bool

func (*Number) Less

func (n *Number) Less(target *Number) bool

Jump to

Keyboard shortcuts

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