This commit is contained in:
Zheng Kai
2023-04-27 16:02:58 +08:00
parent 92b017d0e1
commit 894b62bf29
10 changed files with 101 additions and 63 deletions

View File

@@ -10,7 +10,7 @@ import (
var errSkip = errors.New(`skip`)
// WebHandle ...
func (c *Core) WebHandle(w http.ResponseWriter, r *http.Request) {
func (c *Core) ServeHTTP(w http.ResponseWriter, r *http.Request) {
p, err := req(w, r)
if err != nil {