event

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Hash         hash.Hash              `hash:"-"`
	InstanceHash hash.Hash              `hash:"name:instanceHash"`
	Key          string                 `hash:"name:key"`
	Data         map[string]interface{} `hash:"name:data"`
}

Event stores all informations about Events.

func Create

func Create(instanceHash hash.Hash, eventKey string, eventData map[string]interface{}) *Event

Create creates an event eventKey with eventData for service s.

Jump to

Keyboard shortcuts

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