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

myFunc -> ReportEvent

parent 58758e87
No related branches found
No related tags found
1 merge request!53Release
......@@ -10,7 +10,7 @@ package bindings
// EventCallbackFunctionObject bindings interface which contains function
// that implements the EventCallbackFunction
type EventCallbackFunctionObject interface {
myFunc(priority int, category, evtType, details string)
ReportEvent(priority int, category, evtType, details string)
}
// RegisterEventCallback records the given function to receive
......@@ -18,7 +18,7 @@ type EventCallbackFunctionObject interface {
// of the callback so that it can be deleted later.
func (c *Client) RegisterEventCallback(name string,
myObj EventCallbackFunctionObject) error {
return c.api.RegisterEventCallback(name, myObj.myFunc)
return c.api.RegisterEventCallback(name, myObj.ReportEvent)
}
// UnregisterEventCallback deletes the callback identified by the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment