实现基本的反向代理

This commit is contained in:
GoEdgeLab
2020-09-27 15:26:11 +08:00
parent 09763d4d60
commit 27e85a450a
4 changed files with 19 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ func (this *IndexAction) RunPost(params struct {
IsBreak bool
IsCaseInsensitive bool
IsReverse bool
IsOn bool
Must *actions.Must
}) {
@@ -74,6 +75,7 @@ func (this *IndexAction) RunPost(params struct {
Description: params.Description,
Pattern: resultPattern,
IsBreak: params.IsBreak,
IsOn: params.IsOn,
})
if err != nil {
this.ErrorPage(err)