AEDAevents

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

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

Go to latest
Published: May 26, 2018 License: GPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCustomEvent

func AddCustomEvent(clientID int32, eventID int32, f func(eventmessage.EventMessage))

AddCustomEvent lets you add a new callback for a certain clientID and eventID

func EventInterpreter

func EventInterpreter(event eventmessage.EventMessage)

EventInterpreter should be called when a new message comes in and it will be the entry point to the event handling process

func RemoveCustomEvent

func RemoveCustomEvent(clientID int32, eventID int32)

RemoveCustomEvent removes a custom event callback for a certain clientID and eventID

func SetAEDAserver

func SetAEDAserver(serverWriter AEDAserver.ServerWriter)

SetAEDAserver defines the serverWriter to use for the event system in case of sending a message back to the clients or to another server

Types

This section is empty.

Jump to

Keyboard shortcuts

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