Versions in this module Expand all Collapse all v1 v1.19.0 Dec 9, 2024 v1.18.10 Oct 21, 2024 v1.18.9 Sep 29, 2024 v1.18.8 Sep 2, 2024 Changes in this version type Tun + func (t *Tun) Equal(other Tun) bool + func (t *Tun) Sort() v1.18.7 Jul 28, 2024 v1.18.6 Jul 1, 2024 Changes in this version type Tun + AutoRedirect bool + AutoRedirectInputMark uint32 + AutoRedirectOutputMark uint32 + IPRoute2RuleIndex int + IPRoute2TableIndex int + RouteAddress []netip.Prefix + RouteAddressSet []string + RouteExcludeAddress []netip.Prefix + RouteExcludeAddressSet []string v1.18.5 May 18, 2024 v1.18.4 Apr 29, 2024 v1.18.3 Mar 29, 2024 v1.18.2 Mar 27, 2024 Changes in this version type Tun + TableIndex int v1.18.1 Feb 2, 2024 Changes in this version type Hysteria2Server + UdpMTU int v1.18.0 Jan 2, 2024 Changes in this version type Tun + ExcludeInterface []string + GSO bool + GSOMaxSize uint32 + IncludeInterface []string v1.17.1 Dec 2, 2023 v1.17.0 Dec 2, 2023 Changes in this version + func StringSliceToNetipPrefixSlice(ss []string) ([]netip.Prefix, error) + type Hysteria2Server struct + ALPN []string + CWND int + Certificate string + Down string + Enable bool + IgnoreClientBandwidth bool + Listen string + Masquerade string + MaxIdleTime int + MuxOption sing.MuxOption + Obfs string + ObfsPassword string + PrivateKey string + Up string + Users map[string]string + func (h Hysteria2Server) String() string + type ShadowsocksServer struct + Cipher string + Enable bool + Listen string + MuxOption sing.MuxOption + Password string + Udp bool + func (t ShadowsocksServer) String() string + type TuicServer struct + ALPN []string + AuthenticationTimeout int + CWND int + Certificate string + CongestionController string + Enable bool + Listen string + MaxDatagramFrameSize int + MaxIdleTime int + MaxUdpRelayPacketSize int + MuxOption sing.MuxOption + PrivateKey string + Token []string + Users map[string]string + func (t TuicServer) String() string + type Tun struct + AutoDetectInterface bool + AutoRoute bool + DNSHijack []string + Device string + Enable bool + EndpointIndependentNat bool + ExcludePackage []string + ExcludeUID []uint32 + ExcludeUIDRange []string + FileDescriptor int + IncludeAndroidUser []int + IncludePackage []string + IncludeUID []uint32 + IncludeUIDRange []string + Inet4Address []netip.Prefix + Inet4RouteAddress []netip.Prefix + Inet4RouteExcludeAddress []netip.Prefix + Inet6Address []netip.Prefix + Inet6RouteAddress []netip.Prefix + Inet6RouteExcludeAddress []netip.Prefix + MTU uint32 + RedirectToTun []string + Stack C.TUNStack + StrictRoute bool + UDPTimeout int64 + type Tunnel tunnel + func (t *Tunnel) UnmarshalYAML(unmarshal func(any) error) error + type VmessServer struct + Certificate string + Enable bool + Listen string + MuxOption sing.MuxOption + PrivateKey string + Users []VmessUser + WsPath string + func (t VmessServer) String() string + type VmessUser struct + AlterID int + UUID string + Username string