mirror of
https://github.com/InazumaV/Ratte.git
synced 2026-02-04 04:30:09 +00:00
update
add hook for handler change map to cmap for Trigger.hashs
This commit is contained in:
@@ -25,6 +25,7 @@ type Options struct {
|
||||
Panel string `json:"Panel"`
|
||||
Acme string `json:"Acme"`
|
||||
Cert Cert `json:"Cert"`
|
||||
Hook Hook `json:"Hook"`
|
||||
Expand map[string]interface{} `json:"Other"`
|
||||
}
|
||||
|
||||
@@ -41,6 +42,13 @@ type Cert struct {
|
||||
KeyPath string `json:"Key"`
|
||||
}
|
||||
|
||||
type Hook struct {
|
||||
BeforeAddNode string `json:"BeforeAddNode"`
|
||||
AfterAddNode string `json:"AfterAddNode"`
|
||||
BeforeDelNode string `json:"BeforeDelNode"`
|
||||
AfterDelNode string `json:"AfterDelNode"`
|
||||
}
|
||||
|
||||
type Node struct {
|
||||
Name string `json:"Name"`
|
||||
Remote Remote `json:"-"`
|
||||
|
||||
Reference in New Issue
Block a user