Handle registers the handler for the given method. The handler is called when a method call is received from a Kite.
(method string, handler Handler)
| 159 | // Handle registers the handler for the given method. The handler is called |
| 160 | // when a method call is received from a Kite. |
| 161 | func (k *Kite) Handle(method string, handler Handler) *Method { |
| 162 | return k.addHandle(method, handler) |
| 163 | } |
| 164 | |
| 165 | // HandleFunc registers a handler to run when a method call is received from a |
| 166 | // Kite. It returns a *Method option to further modify certain options on a |
no test coverage detected