Documentation ¶
Index ¶
Constants ¶
View Source
const TableNamePreifx = "userproof"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserConfig ¶
type UserProofModel ¶
type UserProofModel interface { CreateUserProofTable() error DropUserProofTable() error CreateUserProofs(rows []UserProof) error GetUserProofByIndex(id uint32) (*UserProof, error) GetUserProofById(id string) (*UserProof, error) GetLatestAccountIndex() (uint32, error) }
func NewUserProofModel ¶
func NewUserProofModel(db *gorm.DB, suffix string) UserProofModel
Click to show internal directories.
Click to hide internal directories.