bittorrent

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoClue = errors.New("no rule")

Functions

func ReadBytes

func ReadBytes(buf *bytes.Buffer, n int) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL