dataobject

package
v0.90.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 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"`
	AuthKeyId      int64  `db:"auth_key_id"`
	Layer          int32  `db:"layer"`
	ApiId          int32  `db:"api_id"`
	DeviceModel    string `db:"device_model"`
	SystemVersion  string `db:"system_version"`
	AppVersion     string `db:"app_version"`
	SystemLangCode string `db:"system_lang_code"`
	LangPack       string `db:"lang_pack"`
	LangCode       string `db:"lang_code"`
	SystemCode     string `db:"system_code"`
	Proxy          string `db:"proxy"`
	Params         string `db:"params"`
	ClientIp       string `db:"client_ip"`
	DateActive     int64  `db:"date_active"`
	Deleted        bool   `db:"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