Documentation ¶
Index ¶
- func CreateMetadata(srcAddr, destAddr string, network constant.NetWork) (*constant.Metadata, error)
- func CreateTcpMetadata(srcAddr, destAddr net.TCPAddr) constant.Metadata
- func CreateUdpMetadata(srcAddr, destAddr net.UDPAddr) constant.Metadata
- func TcpQueue() chan conn.TcpConnContext
- func UdpQueue() chan conn.UdpConnContext
- type CloseableConn
- type Matcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMetadata ¶
func TcpQueue ¶
func TcpQueue() chan conn.TcpConnContext
func UdpQueue ¶
func UdpQueue() chan conn.UdpConnContext
Types ¶
type CloseableConn ¶
type CloseableConn interface {
Close() error
}
Click to show internal directories.
Click to hide internal directories.