feat: 支持多网卡模式

This commit is contained in:
Mmx
2021-12-03 19:59:42 +08:00
parent a595de3ed1
commit ddaac2d155
11 changed files with 132 additions and 33 deletions

View File

@@ -1,5 +1,7 @@
package srunTransfer
import "net"
type LoginForm struct {
Domain string `json:"domain"`
UserName string `json:"username"`
@@ -30,4 +32,6 @@ type Login struct {
Timeout uint
//登录参数,不可缺省
LoginInfo LoginInfo
//出口地址
LocalAddr net.Addr
}