Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoClue = errors.New("no rule")
Functions ¶
Types ¶
type SniffHeader ¶
type SniffHeader struct{}
func SniffBittorrent ¶
func SniffBittorrent(b []byte) (*SniffHeader, error)
func SniffUTP ¶
func SniffUTP(b []byte) (*SniffHeader, error)
func (*SniffHeader) Domain ¶
func (h *SniffHeader) Domain() string
func (*SniffHeader) Protocol ¶
func (h *SniffHeader) Protocol() string
Click to show internal directories.
Click to hide internal directories.