tracker

package
v0.0.0-...-f18cc39 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2013 License: BSD-3-Clause, MIT Imports: 15 Imported by: 0

Documentation

Overview

The `babou` high-performance BitTorrent tracker.

Implements the core tracker-request router

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadRoutes

func LoadRoutes(s *Server) *mux.Router

Types

type PredefinedResponse

type PredefinedResponse int
const (
	RESP_USER_NOT_FOUND PredefinedResponse = iota
	RESP_TORRENT_NOT_FOUND
)

type Server

type Server struct {
	Port int
	// contains filtered or unexported fields
}

Parameters for babou's web server

func NewServer

func NewServer(appSettings *libBabou.AppSettings, eventBridge *bridge.Bridge, serverIO chan int) *Server

Initializes a server using babou/lib settings and a communication channel.

func (*Server) Start

func (s *Server) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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