Documentation
¶
Index ¶
- func JSONSchema(r JS.Reflector) *JS.Schema
- type ConfigPair
- type CustomBlackholeConfigResponse
- type CustomDNSCacheStrategy
- type CustomDNSFallbackStrategy
- type CustomDNSQueryStrategy
- type CustomFakeDNSConfig
- type CustomFakeDNSConfigExtend
- type CustomFallbackDest
- type CustomHTTPRemoteConfigUser
- type CustomHostAddress
- type CustomInboundConfig
- type CustomKCPHeaderConfig
- type CustomMultiObservatoryItem
- type CustomNameServerConfig
- type CustomNameServerConfigInner
- type CustomOutboundConfig
- type CustomRouterDomainStrategy
- type CustomRouterRule
- type CustomSocksRemoteConfigUser
- type CustomStrategyConfig
- type CustomTCPHeaderConfig
- type CustomUser
- type CustomVLessInOutboundConfigUser
- type CustomVMessInOutboundConfigUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigPair ¶
type ConfigPair struct {
Name string
Interface interface{}
}
type CustomBlackholeConfigResponse ¶
type CustomBlackholeConfigResponse struct{}
func (CustomBlackholeConfigResponse) JSONSchema ¶
func (CustomBlackholeConfigResponse) JSONSchema() *JS.Schema
type CustomDNSCacheStrategy ¶
type CustomDNSCacheStrategy struct{}
func (CustomDNSCacheStrategy) JSONSchema ¶
func (CustomDNSCacheStrategy) JSONSchema() *JS.Schema
type CustomDNSFallbackStrategy ¶
type CustomDNSFallbackStrategy struct{}
func (CustomDNSFallbackStrategy) JSONSchema ¶
func (CustomDNSFallbackStrategy) JSONSchema() *JS.Schema
type CustomDNSQueryStrategy ¶
type CustomDNSQueryStrategy struct{}
func (CustomDNSQueryStrategy) JSONSchema ¶
func (CustomDNSQueryStrategy) JSONSchema() *JS.Schema
type CustomFakeDNSConfig ¶
type CustomFakeDNSConfig struct{}
func (CustomFakeDNSConfig) JSONSchema2 ¶
func (CustomFakeDNSConfig) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomFakeDNSConfigExtend ¶
type CustomFakeDNSConfigExtend struct{}
func (CustomFakeDNSConfigExtend) JSONSchema2 ¶
func (CustomFakeDNSConfigExtend) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomFallbackDest ¶
type CustomFallbackDest struct{}
func (CustomFallbackDest) JSONSchema ¶
func (CustomFallbackDest) JSONSchema() *JS.Schema
type CustomHTTPRemoteConfigUser ¶
type CustomHTTPRemoteConfigUser struct{}
func (CustomHTTPRemoteConfigUser) JSONSchema2 ¶
func (CustomHTTPRemoteConfigUser) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomHostAddress ¶
type CustomHostAddress struct{}
func (CustomHostAddress) JSONSchema2 ¶
func (CustomHostAddress) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomInboundConfig ¶
type CustomInboundConfig struct{}
func (CustomInboundConfig) JSONSchema2 ¶
func (CustomInboundConfig) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomKCPHeaderConfig ¶
type CustomKCPHeaderConfig struct{}
func (CustomKCPHeaderConfig) JSONSchema ¶
func (CustomKCPHeaderConfig) JSONSchema() *JS.Schema
type CustomMultiObservatoryItem ¶
type CustomMultiObservatoryItem struct{}
func (CustomMultiObservatoryItem) JSONSchema2 ¶
func (CustomMultiObservatoryItem) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomNameServerConfig ¶
type CustomNameServerConfig struct{}
func (CustomNameServerConfig) JSONSchema2 ¶
func (CustomNameServerConfig) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomNameServerConfigInner ¶
type CustomNameServerConfigInner struct {
Address *cfgcommon.Address `json:"address"`
ClientIP *cfgcommon.Address `json:"clientIp"`
Port uint16 `json:"port"`
Tag string `json:"tag"`
QueryStrategy string `json:"queryStrategy"`
CacheStrategy string `json:"cacheStrategy"`
FallbackStrategy string `json:"fallbackStrategy"`
SkipFallback bool `json:"skipFallback"`
Domains []string `json:"domains"`
ExpectIPs cfgcommon.StringList `json:"expectIps"`
FakeDNS dns.FakeDNSConfigExtend `json:"fakedns"`
}
type CustomOutboundConfig ¶
type CustomOutboundConfig struct{}
func (CustomOutboundConfig) JSONSchema2 ¶
func (CustomOutboundConfig) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomRouterDomainStrategy ¶
type CustomRouterDomainStrategy struct{}
func (CustomRouterDomainStrategy) JSONSchema ¶
func (CustomRouterDomainStrategy) JSONSchema() *JS.Schema
type CustomRouterRule ¶
type CustomRouterRule struct {
rule.RouterRule
Domain *cfgcommon.StringList `json:"domain"`
Domains *cfgcommon.StringList `json:"domains"`
IP *cfgcommon.StringList `json:"ip"`
Port *cfgcommon.PortList `json:"port"`
Network *cfgcommon.NetworkList `json:"network"`
SourceIP *cfgcommon.StringList `json:"source"`
SourcePort *cfgcommon.PortList `json:"sourcePort"`
User *cfgcommon.StringList `json:"user"`
InboundTag *cfgcommon.StringList `json:"inboundTag"`
Protocols *C.CustomRouterProtocolList `json:"protocol"`
Attributes string `json:"attrs"`
}
type CustomSocksRemoteConfigUser ¶
type CustomSocksRemoteConfigUser struct{}
func (CustomSocksRemoteConfigUser) JSONSchema2 ¶
func (CustomSocksRemoteConfigUser) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomStrategyConfig ¶
type CustomStrategyConfig struct{}
func (CustomStrategyConfig) JSONSchema2 ¶
func (CustomStrategyConfig) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomTCPHeaderConfig ¶
type CustomTCPHeaderConfig struct{}
func (CustomTCPHeaderConfig) JSONSchema2 ¶
func (CustomTCPHeaderConfig) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomUser ¶
type CustomVLessInOutboundConfigUser ¶
type CustomVLessInOutboundConfigUser struct{}
func (CustomVLessInOutboundConfigUser) JSONSchema2 ¶
func (CustomVLessInOutboundConfigUser) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
type CustomVMessInOutboundConfigUser ¶
type CustomVMessInOutboundConfigUser struct{}
func (CustomVMessInOutboundConfigUser) JSONSchema2 ¶
func (CustomVMessInOutboundConfigUser) JSONSchema2(r *JS.Reflector, d JS.Definitions) *JS.Schema
Click to show internal directories.
Click to hide internal directories.