mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
feat: deploy config to remote nodes #359
This commit is contained in:
parent
e75dce92ad
commit
1c1da92363
46 changed files with 1480 additions and 605 deletions
9
model/config.go
Normal file
9
model/config.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package model
|
||||
|
||||
type Config struct {
|
||||
Model
|
||||
Name string `json:"name"`
|
||||
Filepath string `json:"filepath"`
|
||||
SyncNodeIds []int `json:"sync_node_ids" gorm:"serializer:json"`
|
||||
SyncOverwrite bool `json:"sync_overwrite"`
|
||||
}
|
|
@ -36,6 +36,7 @@ func GenerateAllModel() []any {
|
|||
Notification{},
|
||||
AcmeUser{},
|
||||
BanIP{},
|
||||
Config{},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue