dataobject

package
v0.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthKeyInfosDO

type AuthKeyInfosDO struct {
	Id                 int64 `db:"id"`
	AuthKeyId          int64 `db:"auth_key_id"`
	AuthKeyType        int32 `db:"auth_key_type"`
	PermAuthKeyId      int64 `db:"perm_auth_key_id"`
	TempAuthKeyId      int64 `db:"temp_auth_key_id"`
	MediaTempAuthKeyId int64 `db:"media_temp_auth_key_id"`
	Deleted            bool  `db:"deleted"`
}

type AuthKeysDO

type AuthKeysDO struct {
	Id        int64  `db:"id"`
	AuthKeyId int64  `db:"auth_key_id"`
	Body      string `db:"body"`
	Deleted   bool   `db:"deleted"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL