v4config

package
v0.0.0-...-c089bc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONSchema

func JSONSchema(r JS.Reflector) *JS.Schema

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

type CustomFallbackDest

type CustomFallbackDest struct{}

func (CustomFallbackDest) JSONSchema

func (CustomFallbackDest) JSONSchema() *JS.Schema

type CustomHTTPRemoteConfigUser

type CustomHTTPRemoteConfigUser struct{}

func (CustomHTTPRemoteConfigUser) JSONSchema2

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

type CustomNameServerConfig

type CustomNameServerConfig struct{}

func (CustomNameServerConfig) JSONSchema2

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

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

type CustomUser

type CustomUser struct {
	Level uint32 `json:"level"`
	Email string `json:"email"`
}

type CustomVLessInOutboundConfigUser

type CustomVLessInOutboundConfigUser struct{}

func (CustomVLessInOutboundConfigUser) JSONSchema2

type CustomVMessInOutboundConfigUser

type CustomVMessInOutboundConfigUser struct{}

func (CustomVMessInOutboundConfigUser) JSONSchema2

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL