feat: include RunId in FRP Server Plugin NewProxy message

This commit is contained in:
gulewin 2020-03-12 17:33:27 -04:00
parent f65ffe2812
commit 486e389c26
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ type LoginContent struct {
type UserInfo struct {
User string `json:"user"`
Metas map[string]string `json:"metas"`
RunId string `json:"run_id"`
}
type NewProxyContent struct {

View File

@ -422,6 +422,7 @@ func (ctl *Control) manager() {
User: plugin.UserInfo{
User: ctl.loginMsg.User,
Metas: ctl.loginMsg.Metas,
RunId: ctl.loginMsg.RunId,
},
NewProxy: *m,
}