Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithDiverter ¶ added in v0.24.101
func NewWithDiverter(lanIf, diverter string) (intercept.Interceptor, error)
Types ¶
type TCPIPPortAddr ¶
func (*TCPIPPortAddr) GetIP ¶
func (addr *TCPIPPortAddr) GetIP() net.IP
func (*TCPIPPortAddr) GetPort ¶
func (addr *TCPIPPortAddr) GetPort() int
func (*TCPIPPortAddr) GetProtocol ¶
func (addr *TCPIPPortAddr) GetProtocol() string
type UDPIPPortAddr ¶
func (*UDPIPPortAddr) GetIP ¶
func (addr *UDPIPPortAddr) GetIP() net.IP
func (*UDPIPPortAddr) GetPort ¶
func (addr *UDPIPPortAddr) GetPort() int
func (*UDPIPPortAddr) GetProtocol ¶
func (addr *UDPIPPortAddr) GetProtocol() string
Click to show internal directories.
Click to hide internal directories.