Send the server logs when the websocket is connected to initially

This commit is contained in:
Dane Everitt
2019-05-27 18:03:37 -07:00
parent 93c71a6ab7
commit 2db705f697
2 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ type EventListeners map[string][]EventListenerFunction
type EventListenerFunction *func(string)
// Defines all of the possible output events for a server.
// noinspection GoNameStartsWithPackageName
const (
ConsoleOutputEvent = "console output"
StatusEvent = "status"