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.
Click to show internal directories.
Click to hide internal directories.