models

package
v1.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2019 License: MIT Imports: 2 Imported by: 0

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 (node MinterNode) GetFullLink() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL