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 ¶
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.
Click to show internal directories.
Click to hide internal directories.