events

package
v0.0.0-...-2facd03 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishEvents

func PublishEvents() int

func RegisterEvent

func RegisterEvent(e interface{}, eventType string, tx *datastore.Transaction) error

Types

type EventEntity

type EventEntity struct {
	Eventid   string         `datastore:"eventid"`
	Type      string         `datastore:"type"`
	Sent      bool           `datastore:"sent"`
	EventData []byte         `datastore:"event_data"`
	Key       *datastore.Key `datastore:"__key__"`
}

type ReceivedEvent

type ReceivedEvent struct {
	Eventid string `datastore:"eventid"`
}

Jump to

Keyboard shortcuts

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