api

package
v0.0.0-...-4973d3c Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Overview

movies

series

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAllRoutes

func AddAllRoutes(rg *gin.RouterGroup)

func AddGeneralRoutes

func AddGeneralRoutes(routerapi *gin.RouterGroup)

func AddMoviesRoutes

func AddMoviesRoutes(routermovies *gin.RouterGroup)

func AddSeriesRoutes

func AddSeriesRoutes(routerseries *gin.RouterGroup)

Types

type JsonNaming

type JsonNaming struct {
	Foldername string             `json:"foldername"`
	Filename   string             `json:"filename"`
	M          database.ParseInfo `json:"m"`
}

type Jsondata

type Jsondata struct {
	Data any `json:"data"`
}

type Jsondataerror

type Jsondataerror struct {
	Data  any    `json:"data"`
	Error string `json:"error"`
}

type Jsondatarows

type Jsondatarows struct {
	Data  any `json:"data"`
	Total int `json:"total"`
}

type Jsonerror

type Jsonerror struct {
	Error string `json:"error"`
}

type Jsonresults

type Jsonresults struct {
	Accepted []apiexternal.Nzbwithprio `json:"accepted"`
	Denied   []apiexternal.Nzbwithprio `json:"denied"`
}

type Statsresults

type Statsresults struct {
	GCStats      string `json:"GC Stats"`
	MemStats     string `json:"Mem Stats"`
	GOOS         string `json:"GOOS"`
	NumCPU       int    `json:"NumCPU"`
	NumGoroutine int    `json:"NumGoroutine"`
	GOARCH       string `json:"GOARCH"`
}

Jump to

Keyboard shortcuts

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