apis

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const TorrentFileTimeout = 30

Const

Variables

This section is empty.

Functions

func IrcStatus

func IrcStatus(c echo.Context) error

func Releases

func Releases(c echo.Context) error

func Torrent

func Torrent(c echo.Context) error

func UpdateStatus

func UpdateStatus(c echo.Context) error

Types

type ErrorResponse

type ErrorResponse struct {
	Error   bool   `json:"error" xml:"error"`
	Message string `json:"message" xml:"message"`
}

type IrcTrackerStatus added in v1.2.0

type IrcTrackerStatus struct {
	Connected     bool   `json:"connected"`
	LastJoined    string `json:"last_joined"`
	LastAnnounced string `json:"last_announced"`
}

type UpdateResponse

type UpdateResponse struct {
	UpdateAvailable bool   `json:"update_available" xml:"update_available"`
	LatestVersion   string `json:"latest_version" xml:"latest_version"`
	CurrentVersion  string `json:"current_version" xml:"current_version"`
}

Jump to

Keyboard shortcuts

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