feat: 支持作为module引用

This commit is contained in:
Mmx
2021-11-25 08:57:54 +08:00
parent 66df79e68f
commit 9c55cc9d1a
5 changed files with 162 additions and 114 deletions

21
v1/transfer/login.go Normal file
View File

@@ -0,0 +1,21 @@
package transfer
import "github.com/Mmx233/BitSrunLoginGo/models"
type LoginInfo struct {
Form *models.LoginForm
Meta *models.LoginMeta
}
type Login struct {
//文件日志输出开关
Demo bool
//控制台日志打印开关
OutPut bool
//登陆前是否检查网络,只在离线时登录
CheckNet bool
//网络检查超时时间
Timeout uint
//登录参数,不可缺省
LoginInfo LoginInfo
}