Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// All components and Inbounds will be started and closed
Components *common.Components
Inbounds []interface{}
NetMon i.DefaultInterfaceInfo
Dispatcher *dispatcher.Dispatcher
Geo *geo.GeoWrapper
Subscription *subscription.SubscriptionManager
DialerFactory transport.DialerFactory
Policy *policy.Policy
InboundManager *proxy.InboundManager
UserLogger *userlogger.UserLogger
OutboundManager *outbound.Manager
OutStats *outboundstats.OutStats
// might be nil
DB Db
Tetser *tester.Tester
Router *router.RouterWrapper
Selectors *selector.Selectors
Logger *logger.Logger
GrpcServer *grpcserver.GrpcServer
// used to handle dns requests
Dns *dns.HijackDns
AllDnsServers *dns.AllDnsServers
// used to resolve domains when dial, typically node address and domains of direct connection
IPResolver i.IPResolver
// used to resolve ech config
EchResolver i.ECHResolver
// used to resolve domains of proxied connections, typically used for converting domain to real ip for udp connections
IPResolverForRequestAddress i.IPResolver
IPToDomain *dns.IPToDomain
HandlerFactory *handlerfactory.HandlerFactory
}
Click to show internal directories.
Click to hide internal directories.