mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-18 21:38:57 +08:00
27 lines
673 B
Go
27 lines
673 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"`
|
|
}
|
|
|
|
type LocalConnInfo struct {
|
|
Addr string `json:"addr"`
|
|
Port uint `json:"port"`
|
|
User string `json:"user"`
|
|
AuthMode string `json:"authMode"`
|
|
Password string `json:"password"`
|
|
PrivateKey string `json:"privateKey"`
|
|
PassPhrase string `json:"passPhrase"`
|
|
}
|