阶段性提交

This commit is contained in:
GoEdgeLab
2021-08-21 20:45:11 +08:00
parent 9bd9ea17f9
commit 53f3a56972
12 changed files with 823 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
package js
import "net/http"
type RequestInterface interface {
// JSRequest 请求
JSRequest() *http.Request
// JSWriter 响应
JSWriter() http.ResponseWriter
// JSStop 中止请求
JSStop()
// JSLog 打印日志
JSLog(msg ...interface{})
}