前置路由

This commit is contained in:
huangmengzhu
2024-01-10 19:22:30 +08:00
parent 238218a74a
commit 2e3c0a3e30
8 changed files with 19 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ type httpHandler struct {
timeout time.Duration
}
func (h *httpHandler) ServeHTTP(ctx eocontext.EoContext) {
func (h *httpHandler) Serve(ctx eocontext.EoContext) {
httpContext, err := http_context.Assert(ctx)
if err != nil {
return