eztv

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//ServiceType showrss service type
	ServiceType = "eztv"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	ID      string `json:"id"`
	BaseURL string `json:"base_url"`
}

Service show rss service

func New

func New() Service

New create new show rss follow service

func (Service) GetID

func (s Service) GetID() string

GetID get service ID

func (Service) GetShowData

func (s Service) GetShowData(show *models.Show, page, limit int) (*models.Show, error)

GetShowData get show data from service

func (Service) GetURL

func (s Service) GetURL() string

GetURL get service base URL

func (Service) ShowURL

func (s Service) ShowURL(showID string, page, limit int) string

ShowURL get show information URL

Jump to

Keyboard shortcuts

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