阶段性提交

This commit is contained in:
刘祥超
2021-08-21 20:45:11 +08:00
parent 844a5fc321
commit 1f88db8829
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{})
}