announce

package
Version: v0.0.0-...-fdbec17 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2017 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Announce

type Announce struct {
	Config  *CoreCommon.Config
	Logger  *log.Logger
	Storage *Storage.Storage
}

func New

func New(config *CoreCommon.Config, storage *Storage.Storage) *Announce

func (*Announce) HttpHandler

func (self *Announce) HttpHandler(w http.ResponseWriter, r *http.Request)

func (*Announce) ProcessAnnounce

func (self *Announce) ProcessAnnounce(remoteAddr, infoHash, peerID, port, uploaded, downloaded, left, ip, numwant,
	event string) *tracker.Response

Jump to

Keyboard shortcuts

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