1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-20 16:59:17 +08:00
1Panel/agent/app/model/setting.go

18 lines
391 B
Go

package model
type Setting struct {
BaseModel
Key string `json:"key" gorm:"not null;"`
Value string `json:"value"`
About string `json:"about"`
}
type NodeInfo struct {
Scope string `json:"scope"`
BaseDir string `json:"baseDir"`
NodePort uint `json:"nodePort"`
Version string `json:"version"`
ServerCrt string `json:"serverCrt"`
ServerKey string `json:"serverKey"`
}