Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoRecordFound = errors.New("no record found")
)
Functions ¶
func AddTrasactionHash ¶
func GetMnemonic ¶
func SetLockStatus ¶
Types ¶
type User ¶
type User struct { UserId string `json:"userId" gorm:"primary_key"` Mnemonic string `json:"-" gorm:"unique;not null"` Transactions []transaction.Transaction `json:"transactions" gorm:"foreignKey:UserId"` IsUserLocked bool `json:"isUserLocked"` }
Click to show internal directories.
Click to hide internal directories.