mirror of
https://github.com/eolinker/apinto
synced 2025-10-22 08:19:34 +08:00
前置路由
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user