event

package
v0.0.0-...-ae4999c Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiServerStarted = "api::server::started"

	UserCreated = "user::created"
	UserUpdated = "user::updated"
	UserDeleted = "user::deleted"

	DeviceCreated = "device::created"
	DeviceUpdated = "device::updated"
	DeviceDeleted = "device::deleted"

	EquipmentCreated = "equipment::created"
	EquipmentUpdated = "equipment::updated"
	EquipmentDeleted = "equipment::deleted"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data map[string]interface{}

func (Data) Get

func (data Data) Get(key string) interface{}

func (Data) GetMulti

func (data Data) GetMulti(keys ...string) []interface{}

func (Data) Pop

func (data Data) Pop(key string) interface{}

func (Data) Set

func (data Data) Set(key string, v interface{})

Jump to

Keyboard shortcuts

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