first commit
This commit is contained in:
@@ -34,6 +34,7 @@ const (
|
||||
TypeOOMKiller = "oom-killer"
|
||||
TypeACME = "acme"
|
||||
TypeCloudflareOriginCA = "cloudflare-origin-ca"
|
||||
TypeXBoard = "xboard"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
14
option/xboard.go
Normal file
14
option/xboard.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package option
|
||||
|
||||
import (
|
||||
"github.com/sagernet/sing/common/json/badoption"
|
||||
)
|
||||
|
||||
type XBoardServiceOptions struct {
|
||||
PanelURL string `json:"panel_url"`
|
||||
Key string `json:"key"`
|
||||
NodeID int `json:"node_id"`
|
||||
NodeOptions badoption.RawMessage `json:"node_options,omitempty"`
|
||||
SyncInterval badoption.Duration `json:"sync_interval,omitempty"`
|
||||
ReportInterval badoption.Duration `json:"report_interval,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user