chore: 重新抽象 srun 通讯模块

This commit is contained in:
Mmx233
2022-10-21 13:20:31 +08:00
parent 43e377283c
commit 09acd88312
8 changed files with 56 additions and 38 deletions

View File

@@ -1,6 +1,8 @@
package srunModels
import srunTransfer "github.com/Mmx233/BitSrunLoginGo/v1/transfer"
import (
srunTransfer "github.com/Mmx233/BitSrunLoginGo/v1"
)
type Daemon struct {
Enable bool `json:"enable" yaml:"enable" mapstructure:"enable"`

View File

@@ -1,6 +1,8 @@
package srunModels
import "github.com/Mmx233/BitSrunLoginGo/v1/transfer"
import (
"github.com/Mmx233/BitSrunLoginGo/v1"
)
type LoginInfo struct {
Ip string
@@ -11,6 +13,6 @@ type LoginInfo struct {
EncryptedChkstr string
LoginResult string
Form *srunTransfer.LoginForm
Meta *srunTransfer.LoginMeta
Form *BitSrun.LoginForm
Meta *BitSrun.LoginMeta
}