Documentation
¶
Overview ¶
Package memory implements the storage interface for a Conf BitTorrent tracker keeping peer data in memory.
Index ¶
Constants ¶
View Source
const (
// Name - registered name of the storage
Name = "memory"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶ added in v0.0.8
type Builder struct{}
Builder is structure to create new in-memory peer or data storage
func (Builder) NewDataStorage ¶ added in v0.0.8
NewDataStorage creates new in-memory KV storage. Does not need configuration
func (Builder) NewPeerStorage ¶ added in v0.0.8
NewPeerStorage creates new in-memory peer storage
Click to show internal directories.
Click to hide internal directories.