Emit server status events

This commit is contained in:
Dane Everitt
2019-04-21 12:02:28 -07:00
parent bed30d9229
commit 8795e7d739
4 changed files with 70 additions and 39 deletions

View File

@@ -7,6 +7,7 @@ type EventListenerFunction *func(string)
// Defines all of the possible output events for a server.
const (
ConsoleOutputEvent = "console"
StatusEvent = "status"
)
// Adds an event listener for the server instance.