HandleHTTP registers the HTTP handler for the given pattern into the underlying HTTP muxer.
(pattern string, handler http.Handler)
| 262 | // HandleHTTP registers the HTTP handler for the given pattern into the |
| 263 | // underlying HTTP muxer. |
| 264 | func (k *Kite) HandleHTTP(pattern string, handler http.Handler) { |
| 265 | k.muxer.Handle(pattern, handler) |
| 266 | } |
| 267 | |
| 268 | // HandleHTTPFunc registers the HTTP handler for the given pattern into the |
| 269 | // underlying HTTP muxer. |