Versions in this module Expand all Collapse all v1 v1.0.0 Feb 25, 2016 Changes in this version + type ConnectionIDGenerator struct + func NewConnectionIDGenerator() (gen *ConnectionIDGenerator, err error) + func (g *ConnectionIDGenerator) Generate(ip net.IP) []byte + func (g *ConnectionIDGenerator) Matches(id []byte, ip net.IP) bool + func (g *ConnectionIDGenerator) NewIV() error + type Server struct + func NewServer(cfg *config.Config, tkr *tracker.Tracker) *Server + func (s *Server) Serve() + func (s *Server) Stop() + type Writer struct + func (w *Writer) WriteAnnounce(resp *models.AnnounceResponse) (err error) + func (w *Writer) WriteAnnounceIPv4(resp *models.AnnounceResponse) error + func (w *Writer) WriteAnnounceIPv6(resp *models.AnnounceResponse) error + func (w *Writer) WriteError(err error) error + func (w *Writer) WriteScrape(resp *models.ScrapeResponse) error