Documentation
¶
Overview ¶
Package api has the public API exposed by the server and consumed by the tracker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTorrentHandler ¶
func GenerateTorrentHandler(w http.ResponseWriter, r *http.Request)
GenerateTorrentHandler takes a user ID and a torrent ID and returns a personalized torrent descriptor.
Optionally a magnet link can be requested, if not set a torrent file will be returned.
func PingHandler ¶
func PingHandler(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.