Versions in this module Expand all Collapse all v1 v1.5.34 Feb 5, 2023 Changes in this version + func GetSocksServers() map[int]*WGSocksServer + func GetTCPForwarders() map[int]*WGTCPForwarder + func RemoveSocksServer(id int) + func RemoveTCPForwarder(id int) + type WGSocksServer struct + ID int + func GetSocksServer(id int) *WGSocksServer + func NewWGSocksServer(lport int, tunIP string, tnet *netstack.Net) *WGSocksServer + func (s *WGSocksServer) LocalAddr() string + func (s *WGSocksServer) Start() error + func (s *WGSocksServer) Stop() + type WGTCPForwarder struct + ID int + func GetTCPForwarder(id int) *WGTCPForwarder + func NewWGTCPForwarder(targetAddress string, tunIP string, tunPort int, tnet *netstack.Net) *WGTCPForwarder + func (f *WGTCPForwarder) LocalAddr() string + func (f *WGTCPForwarder) RemoteAddr() string + func (f *WGTCPForwarder) Start() error + func (f *WGTCPForwarder) Stop() v1.2.8-test Feb 5, 2023