http

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPTracker

type HTTPTracker struct {
	// contains filtered or unexported fields
}

func (*HTTPTracker) Init

func (t *HTTPTracker) Init(peerdb storage.Database)

Init sets up the HTTPTracker.

func (*HTTPTracker) Serve

func (t *HTTPTracker) Serve() error

Serve begins listening and serving clients.

func (*HTTPTracker) Shutdown

func (t *HTTPTracker) Shutdown()

Shutdown stops the HTTP tracker server by closing the socket.

Jump to

Keyboard shortcuts

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