event

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2019 License: Unlicense Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Manager

func Manager() *manager

Manager return static eventmanager

Types

type EventHandle

type EventHandle uint

EventHandle

type IMessage

type IMessage interface {
	Type() MessageType
}

IMessage Generic event manager message interface All messages need to implement this

type Message

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

Message is a generic event message Contains the type of event

func (Message) Type

func (message Message) Type() MessageType

Type Gets type of event

type MessageType

type MessageType string

MessageType

Jump to

Keyboard shortcuts

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