Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 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 + 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 + 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 + 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 + PrivateKey string + Users []VmessUser + WsPath string + func (t VmessServer) String() string + type VmessUser struct + AlterID int + UUID string + Username string