This commit is contained in:
黄孟柱
2021-11-12 15:22:04 +08:00
parent 3e601eade6
commit 7dfd612e3d
17 changed files with 106 additions and 73 deletions

View File

@@ -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")
}