Versions in this module Expand all Collapse all v0 v0.0.19 Feb 13, 2025 Changes in this version + func CheckVersionX() string + func InitV2Env(envPath string, key string) + func MeasureOutboundDelay(ConfigureFileContent string, url string) (int64, error) + type ProtectedDialer struct + func NewPreotectedDialer(p protectSet) *ProtectedDialer + func (d *ProtectedDialer) DestIpAddress() net.IP + func (d *ProtectedDialer) Dial(ctx context.Context, src v2net.Address, dest v2net.Destination, ...) (net.Conn, error) + func (d *ProtectedDialer) Init(_ dns.Client, _ outbound.Manager) + func (d *ProtectedDialer) IsVServerReady() bool + func (d *ProtectedDialer) PrepareDomain(domainName string, closeCh <-chan struct{}, prefIPv6 bool) + func (d *ProtectedDialer) PrepareResolveChan() + func (d *ProtectedDialer) ResolveChan() chan struct{} + type V2RayPoint struct + AsyncResolve bool + ConfigureFileContent string + DomainName string + IsRunning bool + SupportSet V2RayVPNServiceSupportsSet + Vpoint *v2core.Instance + func NewV2RayPoint(s V2RayVPNServiceSupportsSet, adns bool) *V2RayPoint + func (v *V2RayPoint) MeasureDelay(url string) (int64, error) + func (v *V2RayPoint) RunLoop(prefIPv6 bool) (err error) + func (v *V2RayPoint) StopLoop() (err error) + func (v V2RayPoint) QueryStats(tag string, direct string) int64 + type V2RayVPNServiceSupportsSet interface + OnEmitStatus func(int, string) int + Prepare func() int + Protect func(int) bool + Setup func(Conf string) int + Shutdown func() int