summaryrefslogtreecommitdiffstats
path: root/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/api.go')
-rw-r--r--api/api.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/api.go b/api/api.go
index 9b7f0ff..57a744e 100644
--- a/api/api.go
+++ b/api/api.go
@@ -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
}