Documentation
¶
Overview ¶
Package configs provides type aliases to buf.build generated protobuf modules, preserving the historical import path used across vx-core.
Index ¶
- Constants
- func HandlerTag(h *HandlerConfig) string
- type Account
- type AnytlsClientConfig
- type AnytlsServerConfig
- type AppId
- type AppId_Type
- type AppSetConfig
- type AtomicDomainSetConfig
- type AtomicIPSetConfig
- type AuthType
- type BandwidthConfig
- type ChainHandlerConfig
- type DispatcherConfig
- type DnsConfig
- type DnsRuleConfig
- type DnsRules
- type DnsServerConfig
- type DnsServerConfig_DohDnsServer
- type DnsServerConfig_FakeDnsServer
- type DnsServerConfig_PlainDnsServer
- type DnsServerConfig_QuicDnsServer
- type DnsServerConfig_TlsDnsServer
- type DnsType
- type DohDnsServer
- type DokodemoConfig
- type DomainSetConfig
- type DomainStrategy
- type FakeDnsServer
- type FakeDnsServer_PoolConfig
- type FreedomConfig
- type GeoConfig
- type GeoIPConfig
- type GeositeConfig
- type GreatDomainSetConfig
- type GreatIPSetConfig
- type GrpcConfig
- type GrpcServiceConfig
- type HandlerConfig
- type HandlerConfig_Chain
- type HandlerConfig_Outbound
- type HandlerConfigs
- type HttpClientConfig
- type HttpServerConfig
- type Hysteria2ClientConfig
- type Hysteria2ServerConfig
- type InboundManagerConfig
- type Level
- type LoggerConfig
- type Mode
- type MultiProxyInboundConfig
- type MultiProxyInboundConfig_Protocol
- type MultiProxyInboundConfig_Protocol_Grpc
- type MultiProxyInboundConfig_Protocol_Http
- type MultiProxyInboundConfig_Protocol_Httpupgrade
- type MultiProxyInboundConfig_Protocol_Splithttp
- type MultiProxyInboundConfig_Protocol_Tcp
- type MultiProxyInboundConfig_Protocol_Websocket
- type MultiProxyInboundConfig_Security
- type MultiProxyInboundConfig_Security_Reality
- type MultiProxyInboundConfig_Security_Tls
- type MuxConfig
- type ObfsConfig
- type ObfsConfig_Salamander
- type OutboundConfig
- type OutboundHandlerConfig
- type PlainDnsServer
- type PolicyConfig
- type ProxyInboundConfig
- type QuicDnsServer
- type Record
- type RouterConfig
- type RuleConfig
- type RuleConfig_Fallback
- type RuleConfig_Fallback_Action
- type SalamanderConfig
- type SecurityType
- type SelectorConfig
- type SelectorConfig_BalanceStrategy
- type SelectorConfig_Filter
- type SelectorConfig_SelectingStrategy
- type SelectorsConfig
- type ServerConfig
- type Shadowsocks2022ClientConfig
- type Shadowsocks2022ServerConfig
- type ShadowsocksAccount
- type ShadowsocksCipherType
- type ShadowsocksClientConfig
- type ShadowsocksServerConfig
- type SocketConfig
- type SocketConfig_TCPFastOpenState
- type SocketConfig_TProxyMode
- type SocksClientConfig
- type SocksServerConfig
- type SubscriptionConfig
- type SysProxyConfig
- type TlsDnsServer
- type TmConfig
- type TransportConfig
- type TransportConfig_Grpc
- type TransportConfig_Http
- type TransportConfig_Httpupgrade
- type TransportConfig_Kcp
- type TransportConfig_Reality
- type TransportConfig_Splithttp
- type TransportConfig_Tcp
- type TransportConfig_Tls
- type TransportConfig_Websocket
- type TrojanClientConfig
- type TrojanServerConfig
- type TunConfig
- type TunConfig_TUN46Setting
- type TunDeviceConfig
- type UserConfig
- type UserLoggerConfig
- type UserManagerConfig
- type UserPolicy
- type VlessClientConfig
- type VlessServerConfig
- type VmessClientConfig
- type VmessServerConfig
- type WfpConfig
Constants ¶
const ( DnsType_DnsType_A = dnspb.DnsType_DnsType_A DnsType_DnsType_AAAA = dnspb.DnsType_DnsType_AAAA TunConfig_FOUR_ONLY = tunpb.TunConfig_FOUR_ONLY TunConfig_BOTH = tunpb.TunConfig_BOTH TunConfig_DYNAMIC = tunpb.TunConfig_DYNAMIC Mode_MODE_SYSTEM = tunpb.Mode_MODE_SYSTEM Mode_MODE_GVISOR = tunpb.Mode_MODE_GVISOR AppId_Keyword = routerpb.AppId_Keyword AppId_Prefix = routerpb.AppId_Prefix AppId_Exact = routerpb.AppId_Exact Level_DEBUG = vxlog.Level_DEBUG Level_INFO = vxlog.Level_INFO Level_WARN = vxlog.Level_WARN Level_ERROR = vxlog.Level_ERROR Level_FATAL = vxlog.Level_FATAL Level_DISABLED = vxlog.Level_DISABLED )
const ( AuthType_NO_AUTH = sockspb.AuthType_NO_AUTH AuthType_PASSWORD = sockspb.AuthType_PASSWORD SecurityType_SecurityType_UNKNOWN = vmesspb.SecurityType_SecurityType_UNKNOWN SecurityType_SecurityType_LEGACY = vmesspb.SecurityType_SecurityType_LEGACY SecurityType_SecurityType_AUTO = vmesspb.SecurityType_SecurityType_AUTO SecurityType_SecurityType_AES128_GCM = vmesspb.SecurityType_SecurityType_AES128_GCM SecurityType_SecurityType_CHACHA20_POLY1305 = vmesspb.SecurityType_SecurityType_CHACHA20_POLY1305 SecurityType_SecurityType_NONE = vmesspb.SecurityType_SecurityType_NONE SecurityType_SecurityType_ZERO = vmesspb.SecurityType_SecurityType_ZERO ShadowsocksCipherType_AES_128_GCM = sspb.ShadowsocksCipherType_AES_128_GCM ShadowsocksCipherType_AES_256_GCM = sspb.ShadowsocksCipherType_AES_256_GCM ShadowsocksCipherType_CHACHA20_POLY1305 = sspb.ShadowsocksCipherType_CHACHA20_POLY1305 ShadowsocksCipherType_NONE = sspb.ShadowsocksCipherType_NONE )
Variables ¶
This section is empty.
Functions ¶
func HandlerTag ¶ added in v1.1.2
func HandlerTag(h *HandlerConfig) string
HandlerTag returns the tag from either the outbound or chain variant of HandlerConfig.
Types ¶
type AnytlsClientConfig ¶ added in v1.1.2
type AnytlsClientConfig = anytlspb.AnytlsClientConfig
Client configs
type AnytlsServerConfig ¶ added in v1.1.2
type AnytlsServerConfig = anytlspb.AnytlsServerConfig
Server configs
type BandwidthConfig ¶ added in v1.1.2
type BandwidthConfig = hysteriapb.BandwidthConfig
type DispatcherConfig ¶
type DispatcherConfig = dispatcherpb.DispatcherConfig
Dispatcher, subscription, sysproxy, gRPC service (client)
type DnsServerConfig_DohDnsServer ¶
type DnsServerConfig_DohDnsServer = dnspb.DnsServerConfig_DohDnsServer
DNS
type DnsServerConfig_FakeDnsServer ¶
type DnsServerConfig_FakeDnsServer = dnspb.DnsServerConfig_FakeDnsServer
DNS
type DnsServerConfig_PlainDnsServer ¶
type DnsServerConfig_PlainDnsServer = dnspb.DnsServerConfig_PlainDnsServer
DNS
type DnsServerConfig_QuicDnsServer ¶
type DnsServerConfig_QuicDnsServer = dnspb.DnsServerConfig_QuicDnsServer
DNS
type DnsServerConfig_TlsDnsServer ¶
type DnsServerConfig_TlsDnsServer = dnspb.DnsServerConfig_TlsDnsServer
DNS
type DokodemoConfig ¶ added in v1.1.2
type DokodemoConfig = dokodemopb.DokodemoConfig
Shared / nested
type FreedomConfig ¶ added in v1.1.2
type FreedomConfig = freedompb.FreedomConfig
type GrpcConfig ¶
type GrpcConfig = grpcsvc.GrpcConfig
Dispatcher, subscription, sysproxy, gRPC service (client)
type GrpcServiceConfig ¶ added in v1.0.7
type GrpcServiceConfig = grpcsvc.GrpcServiceConfig
Dispatcher, subscription, sysproxy, gRPC service (client)
type HandlerConfig_Outbound ¶
type HandlerConfig_Outbound = outboundpb.HandlerConfig_Outbound
Outbound
type HttpClientConfig ¶ added in v1.1.2
type HttpClientConfig = httppb.HttpClientConfig
type HttpServerConfig ¶ added in v1.1.2
type HttpServerConfig = httppb.HttpServerConfig
type Hysteria2ClientConfig ¶ added in v1.1.2
type Hysteria2ClientConfig = hysteriapb.Hysteria2ClientConfig
type Hysteria2ServerConfig ¶ added in v1.1.2
type Hysteria2ServerConfig = hysteriapb.Hysteria2ServerConfig
type MultiProxyInboundConfig ¶
type MultiProxyInboundConfig = inboundpb.MultiProxyInboundConfig
Inbound
type MultiProxyInboundConfig_Protocol ¶
type MultiProxyInboundConfig_Protocol = inboundpb.MultiProxyInboundConfig_Protocol
Inbound
type MultiProxyInboundConfig_Protocol_Grpc ¶
type MultiProxyInboundConfig_Protocol_Grpc = inboundpb.MultiProxyInboundConfig_Protocol_Grpc
Inbound
type MultiProxyInboundConfig_Protocol_Http ¶
type MultiProxyInboundConfig_Protocol_Http = inboundpb.MultiProxyInboundConfig_Protocol_Http
Inbound
type MultiProxyInboundConfig_Protocol_Httpupgrade ¶
type MultiProxyInboundConfig_Protocol_Httpupgrade = inboundpb.MultiProxyInboundConfig_Protocol_Httpupgrade
Inbound
type MultiProxyInboundConfig_Protocol_Splithttp ¶
type MultiProxyInboundConfig_Protocol_Splithttp = inboundpb.MultiProxyInboundConfig_Protocol_Splithttp
Inbound
type MultiProxyInboundConfig_Protocol_Tcp ¶
type MultiProxyInboundConfig_Protocol_Tcp = inboundpb.MultiProxyInboundConfig_Protocol_Tcp
Inbound
type MultiProxyInboundConfig_Protocol_Websocket ¶
type MultiProxyInboundConfig_Protocol_Websocket = inboundpb.MultiProxyInboundConfig_Protocol_Websocket
Inbound
type MultiProxyInboundConfig_Security ¶
type MultiProxyInboundConfig_Security = inboundpb.MultiProxyInboundConfig_Security
Inbound
type MultiProxyInboundConfig_Security_Reality ¶
type MultiProxyInboundConfig_Security_Reality = inboundpb.MultiProxyInboundConfig_Security_Reality
Inbound
type MultiProxyInboundConfig_Security_Tls ¶
type MultiProxyInboundConfig_Security_Tls = inboundpb.MultiProxyInboundConfig_Security_Tls
Inbound
type ObfsConfig ¶ added in v1.1.2
type ObfsConfig = hysteriapb.ObfsConfig
type ObfsConfig_Salamander ¶ added in v1.1.2
type ObfsConfig_Salamander = hysteriapb.ObfsConfig_Salamander
type RuleConfig_Fallback ¶ added in v1.1.0
type RuleConfig_Fallback = routerpb.RuleConfig_Fallback
Router
type RuleConfig_Fallback_Action ¶ added in v1.1.0
type RuleConfig_Fallback_Action = routerpb.RuleConfig_Fallback_Action
Router
type SalamanderConfig ¶ added in v1.1.2
type SalamanderConfig = hysteriapb.SalamanderConfig
type SecurityType ¶ added in v1.1.2
type SecurityType = vmesspb.SecurityType
type SelectorConfig_BalanceStrategy ¶
type SelectorConfig_BalanceStrategy = routerpb.SelectorConfig_BalanceStrategy
Router
type SelectorConfig_SelectingStrategy ¶
type SelectorConfig_SelectingStrategy = routerpb.SelectorConfig_SelectingStrategy
Router
type Shadowsocks2022ClientConfig ¶ added in v1.1.2
type Shadowsocks2022ClientConfig = shadowsocks2022pb.Shadowsocks2022ClientConfig
type Shadowsocks2022ServerConfig ¶ added in v1.1.2
type Shadowsocks2022ServerConfig = shadowsocks2022pb.Shadowsocks2022ServerConfig
type ShadowsocksAccount ¶ added in v1.1.2
type ShadowsocksAccount = sspb.ShadowsocksAccount
type ShadowsocksCipherType ¶ added in v1.1.2
type ShadowsocksCipherType = sspb.ShadowsocksCipherType
type ShadowsocksClientConfig ¶ added in v1.1.2
type ShadowsocksClientConfig = sspb.ShadowsocksClientConfig
type ShadowsocksServerConfig ¶ added in v1.1.2
type ShadowsocksServerConfig = sspb.ShadowsocksServerConfig
type SocketConfig_TCPFastOpenState ¶
type SocketConfig_TCPFastOpenState = transportpb.SocketConfig_TCPFastOpenState
Transport
type SocketConfig_TProxyMode ¶
type SocketConfig_TProxyMode = transportpb.SocketConfig_TProxyMode
Transport
type SocksClientConfig ¶ added in v1.1.2
type SocksClientConfig = sockspb.SocksClientConfig
type SocksServerConfig ¶ added in v1.1.2
type SocksServerConfig = sockspb.SocksServerConfig
type SubscriptionConfig ¶
type SubscriptionConfig = subscriptionpb.SubscriptionConfig
Dispatcher, subscription, sysproxy, gRPC service (client)
type SysProxyConfig ¶
type SysProxyConfig = sysproxypb.SysProxyConfig
Dispatcher, subscription, sysproxy, gRPC service (client)
type TransportConfig_Httpupgrade ¶
type TransportConfig_Httpupgrade = transportpb.TransportConfig_Httpupgrade
Transport
type TransportConfig_Reality ¶
type TransportConfig_Reality = transportpb.TransportConfig_Reality
Transport
type TransportConfig_Splithttp ¶
type TransportConfig_Splithttp = transportpb.TransportConfig_Splithttp
Transport
type TransportConfig_Websocket ¶
type TransportConfig_Websocket = transportpb.TransportConfig_Websocket
Transport
type TrojanClientConfig ¶ added in v1.1.2
type TrojanClientConfig = trojanpb.TrojanClientConfig
type TrojanServerConfig ¶ added in v1.1.2
type TrojanServerConfig = trojanpb.TrojanServerConfig
type VlessClientConfig ¶ added in v1.1.2
type VlessClientConfig = vlesspb.VlessClientConfig
type VlessServerConfig ¶ added in v1.1.2
type VlessServerConfig = vlesspb.VlessServerConfig
type VmessClientConfig ¶ added in v1.1.2
type VmessClientConfig = vmesspb.VmessClientConfig
type VmessServerConfig ¶ added in v1.1.2
type VmessServerConfig = vmesspb.VmessServerConfig