hanimetv

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resolvers.Resolver

func NewClient

func NewClient() *http.Client

Types

type HentaiFranchise

type HentaiFranchise struct {
	ID    int    `json:"id"`
	Name  string `json:"name"`
	Slug  string `json:"slug"`
	Title string `json:"title"`
}

type HentaiFranchiseHentaiVideo

type HentaiFranchiseHentaiVideo struct {
	Slug string `json:"slug"`
}

type HentaiVideo

type HentaiVideo struct {
	Name string `json:"name"`
	Slug string `json:"slug"`
}

type Server

type Server struct {
	Streams []Stream `json:"streams"`
}

type Stream

type Stream struct {
	ID     int64  `json:"id"`
	Height string `json:"height"`
	Size   int64  `json:"filesize_mbs"`
	URL    string `json:"url"`
}

type Video

type Video struct {
	HentaiVideo                 HentaiVideo                   `json:"hentai_video"`
	HentaiFranchise             HentaiFranchise               `json:"hentai_franchise"`
	VideosManifest              VideosManifest                `json:"videos_manifest"`
	HentaiFranchiseHentaiVideos []*HentaiFranchiseHentaiVideo `json:"hentai_franchise_hentai_videos"`
}

type VideosManifest

type VideosManifest struct {
	Servers []Server `json:"servers"`
}

Jump to

Keyboard shortcuts

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