diff options
Diffstat (limited to 'api/api.go')
-rw-r--r-- | api/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -126,7 +126,7 @@ func RegisterMessage(x Message, name string) { registeredMessages[name] = x } -// GetAllMessages returns list of all registered messages. -func GetAllMessages() map[string]Message { +// GetRegisteredMessages returns list of all registered messages. +func GetRegisteredMessages() map[string]Message { return registeredMessages } |