gazelle

package
Version: v0.0.0-...-1335a43 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2013 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package gazelle provides a driver for a BitTorrent tracker to interface with the MySQL database used by Gazelle (github.com/WhatCD/Gazelle).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	*sql.DB
	// contains filtered or unexported fields
}

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) LoadAllTorrents

func (c *Conn) LoadAllTorrents() ([]*models.Torrent, error)

func (*Conn) LoadAllUsers

func (c *Conn) LoadAllUsers(ids []uint64) ([]*models.User, error)

func (*Conn) LoadTorrents

func (c *Conn) LoadTorrents(ids []uint64) ([]*models.Torrent, error)

func (*Conn) LoadUsers

func (c *Conn) LoadUsers(ids []uint64) ([]*models.User, error)

func (*Conn) RecordAnnounce

func (c *Conn) RecordAnnounce(delta *storage.AnnounceDelta) error

func (*Conn) Start

func (c *Conn) Start() error

Jump to

Keyboard shortcuts

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