You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: messenger.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,6 @@ type MessageHandler struct {
17
17
// Messenger is the interface plugins should implement to send messages.
18
18
typeMessengerinterface {
19
19
Plugin
20
-
// RegisterMessageHandler is called every time the plugin is initialized. Plugins should record the handler and use the callbacks provided in the handler to send messages.
21
-
RegisterMessageHandler(hMessageHandler)
20
+
// SetMessageHandler is called every time the plugin is initialized. Plugins should record the handler and use the callbacks provided in the handler to send messages.
0 commit comments