eventclient

package
v3.7.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: GPL-3.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEvent

func AddEvent(event Event) error

func DeleteEvent

func DeleteEvent(key uint64) error

func GetEventKeys

func GetEventKeys() ([]uint64, error)

func UploadEvents

func UploadEvents() error

UploadEvents wil reuqest for the events to be uploaded now

Types

type Event

type Event struct {
	Timestamp time.Time
	Type      string
	Details   map[string]interface{}
}

func GetEvent

func GetEvent(key uint64) (*Event, error)

Jump to

Keyboard shortcuts

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