models

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: GPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Episode

type Episode struct {
	Id           string    `json:"id"`
	Name         string    `json:"name"`
	Description  string    `json:"description"`
	ImageUrl     string    `json:"imageUrl"`
	StreamUrl    string    `json:"streamUrl"`
	Aired        time.Time `json:"aired"`
	Until        time.Time `json:"until"`
	Duration     string    `json:"duration"`
	Availability string    `json:"availability"`
}

func EpisodeFromApiModel added in v0.1.10

func EpisodeFromApiModel(s *nextjs.Episode) *Episode

type Show added in v0.1.10

type Show struct {
	Id       string `json:"id"`
	Name     string `json:"name"`
	ImageUrl string `json:"imageUrl"`
}

func ShowFromApiModel added in v0.1.10

func ShowFromApiModel(s *nextjs.CatchupInfo) *Show

type Station added in v0.1.10

type Station struct {
	Name      string `json:"name"`
	Slug      string `json:"slug"`
	StreamUrl string `json:"streamUrl"`
	Id        string `json:"id"`
	Tagline   string `json:"tagline"`
	ImageUrl  string `json:"imageUrl"`
}

func StationFromApiModel added in v0.1.10

func StationFromApiModel(s *nextjs.StationBrand) *Station

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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