实现websocket基本功能

This commit is contained in:
GoEdgeLab
2020-09-26 19:54:02 +08:00
parent 5b1da8f5a2
commit 11f5c64fdb
22 changed files with 487 additions and 23 deletions

View File

@@ -0,0 +1,22 @@
package rewrite
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
)
type IndexAction struct {
actionutils.ParentAction
}
func (this *IndexAction) Init() {
this.Nav("", "setting", "index")
this.SecondMenu("rewrite")
}
func (this *IndexAction) RunGet(params struct {
ServerId int64
}) {
// TODO
this.Show()
}