Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHash ¶
DefaultHash hash a plain text using default salt.
Types ¶
type AsoAccount ¶
type AsoAccount struct { Mid int64 `json:"mid"` Userid string `json:"userid"` Uname string `json:"uname"` Pwd string `json:"pwd"` Salt string `json:"salt"` Email string `json:"email"` Tel string `json:"tel"` CountryID int64 `json:"country_id"` MobileVerified int8 `json:"mobile_verified"` Isleak int8 `json:"isleak"` Mtime string `json:"mtime"` }
AsoAccount aso account.
func Default ¶
func Default(a *OriginAsoAccount) *AsoAccount
Default doHash aso account, including the followings fields: userid, uname, pwd, email, tel.
type BMsg ¶
type BMsg struct { Action string `json:"action"` Table string `json:"table"` New json.RawMessage `json:"new"` Old json.RawMessage `json:"old"` }
BMsg databus binlog message.
type OriginAsoAccount ¶
type OriginAsoAccount struct { Mid int64 `json:"mid"` Userid string `json:"userid"` Uname string `json:"uname"` Pwd string `json:"pwd"` Salt string `json:"salt"` Email string `json:"email"` Tel string `json:"tel"` CountryID int64 `json:"country_id"` MobileVerified int8 `json:"mobile_verified"` Isleak int8 `json:"isleak"` Mtime string `json:"modify_time"` }
OriginAsoAccount origin aso account.
Click to show internal directories.
Click to hide internal directories.