event

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: Unlicense Imports: 1 Imported by: 0

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

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

Jump to

Keyboard shortcuts

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