Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Healthcheck ¶
type Healthcheck struct { Status string `json:"status"` Errors HealthcheckErrors `json:"errors"` }
type HealthcheckErrors ¶
type HealthcheckErrors struct {
Database string `json:"database"`
}
type Link ¶
type Link struct { ID uint `json:"-" gorm:"primaryKey" yaml:"-"` CreatedAt time.Time `json:"-" yaml:"-"` UpdatedAt time.Time `json:"-" yaml:"-"` DeletedAt gorm.DeletedAt `json:"-" gorm:"index" yaml:"-"` NetworkID uint `json:"-" yaml:"-"` Name string `json:"name" yaml:"name"` URI string `json:"uri" yaml:"uri"` }
type Network ¶
type Network struct { ID uint `json:"-" gorm:"primaryKey" yaml:"-"` CreatedAt time.Time `json:"-" yaml:"-"` UpdatedAt time.Time `json:"-" yaml:"-"` DeletedAt gorm.DeletedAt `json:"-" gorm:"index" yaml:"-"` Network string `json:"network" yaml:"network"` Links []Link `json:"links" gorm:"foreignkey:NetworkID" yaml:"links"` Sites []Site `json:"sites" gorm:"foreignkey:NetworkID" yaml:"sites"` }
type Site ¶
type Site struct { ID uint `json:"-" gorm:"primaryKey" yaml:"-"` CreatedAt time.Time `json:"-" yaml:"-"` UpdatedAt time.Time `json:"-" yaml:"-"` DeletedAt gorm.DeletedAt `json:"-" gorm:"index" yaml:"-"` NetworkID uint `json:"-" yaml:"-"` Name string `json:"name" yaml:"name"` URI string `json:"uri" yaml:"uri"` Icon string `json:"icon" yaml:"icon"` IsSupportedApp bool `json:"isSupportedApp" yaml:"isSupportedApp"` DBTags []DBTag `json:"-" gorm:"foreignkey:SiteID" yaml:"-"` Tags []string `json:"tags" gorm:"-" yaml:"tags"` IP string `json:"ip" gorm:"-" yaml:"-"` IsUp bool `json:"isUp" gorm:"-" yaml:"-"` }
Click to show internal directories.
Click to hide internal directories.