Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { ID uint64 `gorm:"primary_key"` OrderID int64 `sql:"not null"` CreatedAt int64 `sql:"not null"` UserID User `gorm:"ForeignKey:UserRefer"` ConfirmedAt int64 }
Transaction log payment requests
type User ¶
type User struct { ID uint64 `gorm:"primary_key"` SysID uint8 `gorm:"unique_index:user_search_index"` ExtID int64 `gorm:"unique_index:user_search_index"` ReachedStage01 int8 ReachedSubStage01 int8 ReachedStage02 int8 // not used. need in market ReachedSubStage02 int8 // not used. need in market IgnoreSavePointBlock int8 InifinityExtra00 int8 InifinityExtra01 int8 InifinityExtra02 int8 InifinityExtra03 int8 InifinityExtra04 int8 InifinityExtra05 int8 InifinityExtra06 int8 InifinityExtra07 int8 InifinityExtra08 int8 InifinityExtra09 int8 RemainingTries int8 RestoreTriesAt int64 `sql:"not null"` Credits int FriendsBonusCreditsTime int64 ProgressStandart string `sql:"json"` // [][]int8 json }
User struct in storage
func (*User) GetProgresStandart ¶
GetProgresStandart return user progress as array
func (*User) SetProgresStandart ¶
SetProgresStandart set user progress
Click to show internal directories.
Click to hide internal directories.