metainfo

package
v0.0.0-...-9cd278b Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2016 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metainfo

type Metainfo struct {
	Name         string
	AnnounceList []string
	Pieces       [][]byte
	PieceCount   int
	PieceLength  int64
	InfoHash     []byte
	Files        []struct {
		Length int64
		Path   string
	}
}

func ParseMetainfo

func ParseMetainfo(r io.Reader) (m *Metainfo, err error)

Jump to

Keyboard shortcuts

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