Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2024 v1.0.1 Apr 24, 2024 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 + UdpMTU int + 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 + ExcludeInterface []string + ExcludePackage []string + ExcludeUID []uint32 + ExcludeUIDRange []string + FileDescriptor int + GSO bool + GSOMaxSize uint32 + IncludeAndroidUser []int + IncludeInterface []string + 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 + TableIndex int + 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