db parameter
This commit is contained in:
parent
1d977c543a
commit
65ddfc297d
3 changed files with 13 additions and 9 deletions
|
|
@ -33,7 +33,7 @@ func (h *Handler) Start() {
|
|||
h.startJobs()
|
||||
s := &http.Server{Addr: h.Addr, Handler: h}
|
||||
s.ListenAndServe()
|
||||
}
|
||||
}
|
||||
|
||||
func (h Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
|
||||
route, vars := getRoute(req)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue