From 507cef8bcea5b56d25d34ca7073c46f608962f19 Mon Sep 17 00:00:00 2001 From: benoitc Date: Sat, 13 Jul 2013 17:03:04 +0200 Subject: [PATCH] useless type --- api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/api.go b/api.go index ca59bb3cdf..e27158e7a8 100644 --- a/api.go +++ b/api.go @@ -23,7 +23,6 @@ const DEFAULTHTTPHOST string = "127.0.0.1" const DEFAULTHTTPPORT int = 4243 type HttpApiFunc func(srv *Server, version float64, w http.ResponseWriter, r *http.Request, vars map[string]string) error -type WsApiFunc func(srv *Server, ws *websocket.Conn, vars map[string]string) error func hijackServer(w http.ResponseWriter) (io.ReadCloser, io.Writer, error) { conn, _, err := w.(http.Hijacker).Hijack()