Documentation
¶
Overview ¶
Package batter provides a driver for a BitTorrent tracker to interface with the postgres database used by batter (github.com/wafflesfm/batter).
Index ¶
- type Conn
- func (c *Conn) LoadAllTorrents() ([]*models.Torrent, error)
- func (c *Conn) LoadAllUsers(ids []uint64) ([]*models.User, error)
- func (c *Conn) LoadTorrents(ids []uint64) ([]*models.Torrent, error)
- func (c *Conn) LoadUsers(ids []uint64) ([]*models.User, error)
- func (c *Conn) RecordAnnounce(delta *storage.AnnounceDelta) error
- func (c *Conn) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
func (*Conn) RecordAnnounce ¶
func (c *Conn) RecordAnnounce(delta *storage.AnnounceDelta) error
Click to show internal directories.
Click to hide internal directories.