mirror of
https://github.com/eolinker/apinto
synced 2025-10-05 08:47:04 +08:00
router
This commit is contained in:
@@ -2,6 +2,7 @@ package http_context
|
||||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"github.com/valyala/fasthttp"
|
||||
|
||||
@@ -30,7 +31,7 @@ func (ctx *Context) Response() (http_service.IResponse, error) {
|
||||
return ctx.response, ctx.responseError
|
||||
}
|
||||
|
||||
func (ctx *Context) SendTo(address string) error {
|
||||
func (ctx *Context) SendTo(address string, timeout time.Duration) error {
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user