Documentation ¶
Overview ¶
Package boltdbresumer provides a Resumer implementation that uses a Bolt database file as storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Keys = struct { InfoHash []byte Port []byte Name []byte Trackers []byte Dest []byte Info []byte Bitfield []byte AddedAt []byte BytesDownloaded []byte BytesUploaded []byte BytesWasted []byte SeededFor []byte }{ InfoHash: []byte("info_hash"), Port: []byte("port"), Name: []byte("name"), Trackers: []byte("trackers"), Dest: []byte("dest"), Info: []byte("info"), Bitfield: []byte("bitfield"), AddedAt: []byte("added_at"), BytesDownloaded: []byte("bytes_downloaded"), BytesUploaded: []byte("bytes_uploaded"), BytesWasted: []byte("bytes_wasted"), SeededFor: []byte("seeded_for"), }
Functions ¶
This section is empty.
Types ¶
type Resumer ¶
type Resumer struct {
// contains filtered or unexported fields
}
func (*Resumer) WriteBitfield ¶
Click to show internal directories.
Click to hide internal directories.