Documentation ¶
Index ¶
- func AddTcpConn(ct conn.TcpConnContext)
- func AddUdpConn(conn *conn.UdpConnContext)
- 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
- type CloseableConn
- type Matcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTcpConn ¶
func AddTcpConn(ct conn.TcpConnContext)
func AddUdpConn ¶
func AddUdpConn(conn *conn.UdpConnContext)
func CreateMetadata ¶
Types ¶
type CloseableConn ¶
type CloseableConn interface {
Close() error
}
Click to show internal directories.
Click to hide internal directories.