Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinterNode ¶
type MinterNode struct {
ID uint `gorm:"primary_key"`
Host string `json:"host" gorm:"type:varchar(255)"`
Port uint `json:"port" gorm:"type:int; default:8841"`
Version string `json:"version" gorm:"type:varchar(255)"`
Ping float32 `json:"ping" gorm:"type:numeric(7,3)"`
IsSecure bool `json:"is_secure" gorm:"default:false"`
IsActive bool `json:"is_active" gorm:"default:false"`
IsLocal bool `json:"is_local" gorm:"default:false"`
IsExcluded bool `json:"is_excluded" gorm:"default:false"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt *time.Time
}
func (MinterNode) GetFullLink ¶
func (node MinterNode) GetFullLink() string
Click to show internal directories.
Click to hide internal directories.