functionReceived is a type implementing caller interface. It is used to set the Function when a callback function is received.
func(...interface{}) error
| 56 | // functionReceived is a type implementing caller interface. |
| 57 | // It is used to set the Function when a callback function is received. |
| 58 | type functionReceived func(...interface{}) error |
| 59 | |
| 60 | func (f functionReceived) Call(args ...interface{}) error { |
| 61 | return f(args...) |