Documentation ¶
Index ¶
- Variables
- func BuildServer(startCfg *model.StartConfig) (*http.Server, net.Listener, error)
- func ContinueTask(w http.ResponseWriter, r *http.Request)
- func ContinueTasks(w http.ResponseWriter, r *http.Request)
- func CreateTask(w http.ResponseWriter, r *http.Request)
- func CreateTaskBatch(w http.ResponseWriter, r *http.Request)
- func DeleteExtension(w http.ResponseWriter, r *http.Request)
- func DeleteTask(w http.ResponseWriter, r *http.Request)
- func DeleteTasks(w http.ResponseWriter, r *http.Request)
- func DoProxy(w http.ResponseWriter, r *http.Request)
- func GetConfig(w http.ResponseWriter, r *http.Request)
- func GetExtension(w http.ResponseWriter, r *http.Request)
- func GetExtensions(w http.ResponseWriter, r *http.Request)
- func GetStats(w http.ResponseWriter, r *http.Request)
- func GetTask(w http.ResponseWriter, r *http.Request)
- func GetTasks(w http.ResponseWriter, r *http.Request)
- func Info(w http.ResponseWriter, r *http.Request)
- func InstallExtension(w http.ResponseWriter, r *http.Request)
- func PauseTask(w http.ResponseWriter, r *http.Request)
- func PauseTasks(w http.ResponseWriter, r *http.Request)
- func PutConfig(w http.ResponseWriter, r *http.Request)
- func ReadJson(r *http.Request, w http.ResponseWriter, v any) bool
- func Resolve(w http.ResponseWriter, r *http.Request)
- func Start(startCfg *model.StartConfig) (port int, err error)
- func Stop()
- func SwitchExtension(w http.ResponseWriter, r *http.Request)
- func UpdateCheckExtension(w http.ResponseWriter, r *http.Request)
- func UpdateExtension(w http.ResponseWriter, r *http.Request)
- func UpdateExtensionSettings(w http.ResponseWriter, r *http.Request)
- func WriteJson(w http.ResponseWriter, v any)
- func WriteStatusJson(w http.ResponseWriter, statusCode int, v any)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Downloader *download.Downloader
)
Functions ¶
func BuildServer ¶
func ContinueTask ¶
func ContinueTask(w http.ResponseWriter, r *http.Request)
func ContinueTasks ¶ added in v1.6.0
func ContinueTasks(w http.ResponseWriter, r *http.Request)
func CreateTask ¶
func CreateTask(w http.ResponseWriter, r *http.Request)
func CreateTaskBatch ¶ added in v1.5.7
func CreateTaskBatch(w http.ResponseWriter, r *http.Request)
func DeleteExtension ¶ added in v1.4.0
func DeleteExtension(w http.ResponseWriter, r *http.Request)
func DeleteTask ¶
func DeleteTask(w http.ResponseWriter, r *http.Request)
func DeleteTasks ¶ added in v1.5.4
func DeleteTasks(w http.ResponseWriter, r *http.Request)
func GetExtension ¶ added in v1.4.0
func GetExtension(w http.ResponseWriter, r *http.Request)
func GetExtensions ¶ added in v1.4.0
func GetExtensions(w http.ResponseWriter, r *http.Request)
func InstallExtension ¶ added in v1.4.0
func InstallExtension(w http.ResponseWriter, r *http.Request)
func PauseTasks ¶ added in v1.6.0
func PauseTasks(w http.ResponseWriter, r *http.Request)
func SwitchExtension ¶ added in v1.4.0
func SwitchExtension(w http.ResponseWriter, r *http.Request)
func UpdateCheckExtension ¶ added in v1.4.0
func UpdateCheckExtension(w http.ResponseWriter, r *http.Request)
func UpdateExtension ¶ added in v1.4.0
func UpdateExtension(w http.ResponseWriter, r *http.Request)
func UpdateExtensionSettings ¶ added in v1.4.0
func UpdateExtensionSettings(w http.ResponseWriter, r *http.Request)
func WriteJson ¶
func WriteJson(w http.ResponseWriter, v any)
func WriteStatusJson ¶ added in v1.3.8
func WriteStatusJson(w http.ResponseWriter, statusCode int, v any)
Types ¶
Click to show internal directories.
Click to hide internal directories.