Skip to content
Snippets Groups Projects
Commit 9be7a75f authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

missing import

parent 5b944107
No related branches found
No related tags found
3 merge requests!23Release,!13Hotfix/no host cooldown + return sende2e TS,!11Client Event Reporting API
......@@ -7,10 +7,14 @@
package bindings
import (
"gitlab.com/elixxir/client/api"
)
// RegisterEventCallback records the given function to receive
// ReportableEvent objects. It returns the internal index
// of the callback so that it can be deleted later.
func (c *Client) RegisterEventCallback(myFunc EventCallbackFunction) int {
func (c *Client) RegisterEventCallback(myFunc api.EventCallbackFunction) int {
return c.api.RegisterEventCallback(myFunc)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment