model

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	Name        string  `json:"name"`
	Subcategory *string `json:"subcategory"`
}

type Enclosure

type Enclosure struct {
	Link string `json:"link"`
	Type string `json:"type"`
	Size int    `json:"size"`
}

type Episode

type Episode struct {
	GUID        string              `json:"guid"`
	Name        string              `json:"name"`
	Created     string              `json:"created"`
	Published   string              `json:"published"`
	Labels      *Labels             `json:"labels"`
	Description *EpisodeDescription `json:"description"`
	Image       string              `json:"image"`
	Enclosure   *Enclosure          `json:"enclosure"`
}

type EpisodeDescription

type EpisodeDescription struct {
	Title       string  `json:"title"`
	Summary     string  `json:"summary"`
	Description *string `json:"description"`
	Link        string  `json:"link"`
	Duration    int     `json:"duration"`
}

type Labels

type Labels struct {
	Block    string `json:"block"`
	Explicit string `json:"explicit"`
	Type     string `json:"type"`
	Complete string `json:"complete"`
	Language string `json:"language"`
	Episode  int    `json:"episode"`
	Season   int    `json:"season"`
}

type Owner

type Owner struct {
	Name  string `json:"name"`
	Email string `json:"email"`
}

type Show

type Show struct {
	GUID        string           `json:"guid"`
	Name        string           `json:"name"`
	Created     string           `json:"created"`
	Build       string           `json:"build"`
	Labels      *Labels          `json:"labels"`
	Description *ShowDescription `json:"description"`
	Image       string           `json:"image"`
	Episodes    []*Episode       `json:"episodes"`
}

type ShowDescription

type ShowDescription struct {
	Title     string      `json:"title"`
	Summary   string      `json:"summary"`
	Link      string      `json:"link"`
	Category  []*Category `json:"category"`
	Author    string      `json:"author"`
	Copyright string      `json:"copyright"`
	Owner     *Owner      `json:"owner"`
}

Jump to

Keyboard shortcuts

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