Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authz ¶
type Authz struct { gorm.Model AccessKey string `gorm:"column:access_key" json:"access_key" form:"access_key"` // access key SecretKey string `gorm:"column:secret_key" json:"secret_key" form:"secret_key"` // secret key Role string `gorm:"column:role" json:"role" form:"role"` // role: admin/miner/developer }
type Node ¶
type Node struct { gorm.Model MinerAddr string `gorm:"column:miner_addr" json:"miner_addr" form:"miner_addr"` // miner addr Domain string `gorm:"column:domain" json:"domain" form:"domain"` // domain PaymentSecs int `gorm:"column:payment_secs" json:"payment_secs" form:"payment_secs"` // seconds to be paid }
Click to show internal directories.
Click to hide internal directories.