aria2proto

package
v0.0.0-...-8732249 Latest Latest
Warning

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

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

Documentation

Overview

Package aria2proto provides the aria2 rpc protocol commands and events.

Index

Constants

View Source
const (
	AddURI      = "aria2.addUri"
	AddTorrent  = "aria2.addTorrent"
	AddMetalink = "aria2.addMetalink"

	Remove      = "aria2.remove"
	ForceRemove = "aria2.forceRemove"

	Pause      = "aria2.pause"
	ForcePause = "aria2.forcePause"
	Unpause    = "aria2.unpause"

	TellStatus = "aria2.tellStatus"

	GetURIs    = "aria2.getUris"
	GetFiles   = "aria2.getFiles"
	GetPeers   = "aria2.getPeers"
	GetServers = "aria2.getServers"

	ChangePosition = "aria2.changePosition"
	ChangeURI      = "aria2.changeUri"

	GetOptions    = "aria2.getOption"
	ChangeOptions = "aria2.changeOption"

	RemoveDownloadResult = "aria2.removeDownloadResult"
)
View Source
const (
	PauseAll      = "aria2.pauseAll"
	ForcePauseAll = "aria2.forcePauseAll"
	UnpauseAll    = "aria2.unpauseAll"

	TellActive  = "aria2.tellActive"
	TellWaiting = "aria2.tellWaiting"
	TellStopped = "aria2.tellStopped"

	GetGlobalOptions    = "aria2.getGlobalOption"
	ChangeGlobalOptions = "aria2.changeGlobalOption"
	GetGlobalStats      = "aria2.getGlobalStat"

	PurgeDownloadResults = "aria2.purgeDownloadResult"

	GetVersion     = "aria2.getVersion"
	GetSessionInfo = "aria2.getSessionInfo"

	Shutdown      = "aria2.shutdown"
	ForceShutdown = "aria2.forceShutdown"

	SaveSession = "aria2.saveSession"
)
View Source
const (
	OnDownloadStart      = "aria2.onDownloadStart"
	OnDownloadPause      = "aria2.onDownloadPause"
	OnDownloadStop       = "aria2.onDownloadStop"
	OnDownloadComplete   = "aria2.onDownloadComplete"
	OnDownloadError      = "aria2.onDownloadError"
	OnBTDownloadComplete = "aria2.onBtDownloadComplete"
)
View Source
const (
	Multicall = "system.multicall"

	ListMethods       = "system.listMethods"
	ListNotifications = "system.listNotifications"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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