Skip to content

Commit ef9a0c4

Browse files
committed
新增响应头部Reset方法
1 parent eec6f32 commit ef9a0c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eocontext/http-context/context.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ type IHeaderWriter interface {
6565
}
6666

6767
type IResponseHeader interface {
68+
HeaderReset()
6869
GetHeader(name string) string
6970
Headers() http.Header
7071
HeadersString() string
72+
7173
SetHeader(key, value string)
7274
AddHeader(key, value string)
7375
DelHeader(key string)

0 commit comments

Comments
 (0)