mirror of
https://github.com/fatedier/frp.git
synced 2026-05-21 06:45:32 -06:00
adjust code style about config (#3464)
This commit is contained in:
parent
341a5e3e3a
commit
9aef3b9944
29 changed files with 262 additions and 474 deletions
|
|
@ -109,7 +109,7 @@ func NewControl(
|
|||
ctl.msgTransporter = transport.NewMessageTransporter(ctl.sendCh)
|
||||
ctl.pm = proxy.NewManager(ctl.ctx, clientCfg, ctl.msgTransporter)
|
||||
|
||||
ctl.vm = visitor.NewManager(ctl.ctx, ctl.clientCfg, ctl.connectServer, ctl.msgTransporter)
|
||||
ctl.vm = visitor.NewManager(ctl.ctx, ctl.runID, ctl.clientCfg, ctl.connectServer, ctl.msgTransporter)
|
||||
ctl.vm.Reload(visitorCfgs)
|
||||
return ctl
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue