Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthKeyInfosDO ¶
type AuthKeysDO ¶
type AuthUsersDO ¶
type AuthUsersDO struct {
Id int64 `db:"id"`
AuthKeyId int64 `db:"auth_key_id"`
UserId int64 `db:"user_id"`
Hash int64 `db:"hash"`
Layer int32 `db:"layer"`
DeviceModel string `db:"device_model"`
Platform string `db:"platform"`
SystemVersion string `db:"system_version"`
ApiId int32 `db:"api_id"`
AppName string `db:"app_name"`
AppVersion string `db:"app_version"`
DateCreated int64 `db:"date_created"`
DateActived int64 `db:"date_actived"`
Ip string `db:"ip"`
Country string `db:"country"`
Region string `db:"region"`
Deleted bool `db:"deleted"`
}
type AuthsDO ¶
type AuthsDO struct {
Id int64 `db:"id" json:"id"`
AuthKeyId int64 `db:"auth_key_id" json:"auth_key_id"`
Layer int32 `db:"layer" json:"layer"`
ApiId int32 `db:"api_id" json:"api_id"`
DeviceModel string `db:"device_model" json:"device_model"`
SystemVersion string `db:"system_version" json:"system_version"`
AppVersion string `db:"app_version" json:"app_version"`
SystemLangCode string `db:"system_lang_code" json:"system_lang_code"`
LangPack string `db:"lang_pack" json:"lang_pack"`
LangCode string `db:"lang_code" json:"lang_code"`
SystemCode string `db:"system_code" json:"system_code"`
Proxy string `db:"proxy" json:"proxy"`
Params string `db:"params" json:"params"`
ClientIp string `db:"client_ip" json:"client_ip"`
DateActive int64 `db:"date_active" json:"date_active"`
Deleted bool `db:"deleted" json:"deleted"`
}
type DevicesDO ¶
type DevicesDO struct {
Id int64 `db:"id"`
AuthKeyId int64 `db:"auth_key_id"`
UserId int64 `db:"user_id"`
TokenType int32 `db:"token_type"`
Token string `db:"token"`
NoMuted bool `db:"no_muted"`
LockedPeriod int32 `db:"locked_period"`
AppSandbox bool `db:"app_sandbox"`
Secret string `db:"secret"`
OtherUids string `db:"other_uids"`
State bool `db:"state"`
}
Click to show internal directories.
Click to hide internal directories.