aboutsummaryrefslogtreecommitdiff
path: root/http_server.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--http_server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/http_server.go b/http_server.go
index f2238d8..9548a65 100644
--- a/http_server.go
+++ b/http_server.go
@@ -14,9 +14,9 @@ import (
"go.lindenii.runxiyu.org/lindenii-common/clog"
)
-type http_router_t struct{}
+type httpRouter struct{}
-func (router *http_router_t) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+func (router *httpRouter) ServeHTTP(w http.ResponseWriter, r *http.Request) {
clog.Info("Incoming HTTP: " + r.RemoteAddr + " " + r.Method + " " + r.RequestURI)
var segments []string