Documentation ¶
Index ¶
- Constants
- func NewProxiesParser(filter string, excludeFilter string, excludeType string, dialerProxy string, ...) (resource.Parser[[]C.Proxy], error)
- func ParseProxyProvider(name string, mapping map[string]any) (types.ProxyProvider, error)
- type CompatibleProvider
- type HealthCheck
- type HealthCheckOption
- type InlineProvider
- type OverrideProxyNameSchema
- type OverrideSchema
- type ProxySchema
- type ProxySetProvider
- type SubscriptionInfo
Constants ¶
View Source
const (
ReservedName = "default"
)
Variables ¶
This section is empty.
Functions ¶
func NewProxiesParser ¶ added in v1.19.1
func ParseProxyProvider ¶
Types ¶
type CompatibleProvider ¶
type CompatibleProvider struct {
// contains filtered or unexported fields
}
CompatibleProvider for auto gc
func NewCompatibleProvider ¶
func NewCompatibleProvider(name string, proxies []C.Proxy, hc *HealthCheck) (*CompatibleProvider, error)
func (*CompatibleProvider) Close ¶ added in v1.18.8
func (cp *CompatibleProvider) Close() error
func (CompatibleProvider) MarshalJSON ¶
func (CompatibleProvider) VehicleType ¶
func (cp CompatibleProvider) VehicleType() types.VehicleType
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
type HealthCheckOption ¶
type InlineProvider ¶ added in v1.19.1
type InlineProvider struct {
// contains filtered or unexported fields
}
InlineProvider for auto gc
func NewInlineProvider ¶ added in v1.19.1
func NewInlineProvider(name string, payload []map[string]any, parser resource.Parser[[]C.Proxy], hc *HealthCheck) (*InlineProvider, error)
func (*InlineProvider) Close ¶ added in v1.19.1
func (ip *InlineProvider) Close() error
func (InlineProvider) MarshalJSON ¶ added in v1.19.1
func (InlineProvider) VehicleType ¶ added in v1.19.1
func (ip InlineProvider) VehicleType() types.VehicleType
type OverrideProxyNameSchema ¶ added in v1.18.9
type OverrideSchema ¶
type OverrideSchema struct { TFO *bool `provider:"tfo,omitempty"` MPTcp *bool `provider:"mptcp,omitempty"` UDP *bool `provider:"udp,omitempty"` UDPOverTCP *bool `provider:"udp-over-tcp,omitempty"` Up *string `provider:"up,omitempty"` Down *string `provider:"down,omitempty"` DialerProxy *string `provider:"dialer-proxy,omitempty"` SkipCertVerify *bool `provider:"skip-cert-verify,omitempty"` Interface *string `provider:"interface-name,omitempty"` RoutingMark *int `provider:"routing-mark,omitempty"` IPVersion *string `provider:"ip-version,omitempty"` AdditionalPrefix *string `provider:"additional-prefix,omitempty"` AdditionalSuffix *string `provider:"additional-suffix,omitempty"` ProxyName []OverrideProxyNameSchema `provider:"proxy-name,omitempty"` }
type ProxySchema ¶
type ProxySetProvider ¶
type ProxySetProvider struct {
// contains filtered or unexported fields
}
ProxySetProvider for auto gc
func NewProxySetProvider ¶
func (*ProxySetProvider) Close ¶ added in v1.18.8
func (pp *ProxySetProvider) Close() error
func (ProxySetProvider) MarshalJSON ¶
type SubscriptionInfo ¶
func (*SubscriptionInfo) Update ¶ added in v1.19.1
func (info *SubscriptionInfo) Update(userinfo string)
Click to show internal directories.
Click to hide internal directories.