Add new admin panel, failover, dns fallback, providers, limiters. Update XHTTP

This commit is contained in:
Sergei Maklagin
2026-05-11 00:59:35 +03:00
parent 652e0baf57
commit 3bd162ed6f
241 changed files with 36409 additions and 4086 deletions

View File

@@ -1,9 +1,13 @@
package option
import "github.com/sagernet/sing/common/json/badoption"
type FailoverInboundOptions struct {
Inbounds []Inbound `json:"inbounds"`
}
type FailoverOutboundOptions struct {
Outbounds []Outbound `json:"outbounds"`
Strategy string `json:"strategy,omitempty"`
Delay badoption.Duration `json:"delay,omitempty"`
Outbounds []Outbound `json:"outbounds"`
}