storage

package
v0.0.0-...-773767c Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiarioASStorage

type DiarioASStorage struct {
	// contains filtered or unexported fields
}

func NewDiarioAS

func NewDiarioAS() *DiarioASStorage

func (*DiarioASStorage) GetNews

func (diarioAS *DiarioASStorage) GetNews(notices *[]models.Notice) error

func (*DiarioASStorage) GetProvider

func (diarioAS *DiarioASStorage) GetProvider() (*models.Provider, error)

type ESPNStorage

type ESPNStorage struct {
	// contains filtered or unexported fields
}

func NewESPN

func NewESPN() *ESPNStorage

func (*ESPNStorage) GetNews

func (espn *ESPNStorage) GetNews(notices *[]models.Notice) error

func (*ESPNStorage) GetProvider

func (espn *ESPNStorage) GetProvider() (*models.Provider, error)

type FoxSports

type FoxSports struct {
	// contains filtered or unexported fields
}

func NewFoxSports

func NewFoxSports() *FoxSports

func (*FoxSports) GetNews

func (foxSports *FoxSports) GetNews(notices *[]models.Notice) error

func (*FoxSports) GetProvider

func (foxSports *FoxSports) GetProvider() (*models.Provider, error)

type GreatGoals101

type GreatGoals101 struct {
	// contains filtered or unexported fields
}

func NewGreatGoals101

func NewGreatGoals101() *GreatGoals101

func (*GreatGoals101) GetNews

func (greatGoals101 *GreatGoals101) GetNews(notices *[]models.Notice) error

func (*GreatGoals101) GetProvider

func (greatGoals101 *GreatGoals101) GetProvider() (*models.Provider, error)

type ID

type ID int64
const (
	ESPN_ID ID = (iota + 1)
	DIARIOAS_ID
	MARCA_ID
	NYTIMES_ID
	FOX_SPORTS_ID
	YAHOO_SPORTS_ID
	GREAT_GOALS_101_ID
	NINETY_MIN_ID
)

type Marca

type Marca struct {
	// contains filtered or unexported fields
}

func NewMarca

func NewMarca() *Marca

func (*Marca) GetNews

func (marca *Marca) GetNews(notices *[]models.Notice) error

func (*Marca) GetProvider

func (marca *Marca) GetProvider() (*models.Provider, error)

type NYTimes

type NYTimes struct {
	// contains filtered or unexported fields
}

func NewNYTimes

func NewNYTimes() *NYTimes

func (*NYTimes) GetNews

func (nytimes *NYTimes) GetNews(notices *[]models.Notice) error

func (*NYTimes) GetProvider

func (nytimes *NYTimes) GetProvider() (*models.Provider, error)

type NinetyMin

type NinetyMin struct {
	// contains filtered or unexported fields
}

func NewNinetyMin

func NewNinetyMin() *NinetyMin

func (*NinetyMin) GetNews

func (ninetyMin *NinetyMin) GetNews(notices *[]models.Notice) error

func (*NinetyMin) GetProvider

func (ninetyMin *NinetyMin) GetProvider() (*models.Provider, error)

type Storage

type Storage interface {
	GetNews(notices *[]models.Notice) error
	GetProvider() (*models.Provider, error)
}

type YahooSports

type YahooSports struct {
	// contains filtered or unexported fields
}

func NewYahooSports

func NewYahooSports() *YahooSports

func (*YahooSports) GetNews

func (yahooSports *YahooSports) GetNews(notices *[]models.Notice) error

func (*YahooSports) GetProvider

func (yahooSports *YahooSports) GetProvider() (*models.Provider, error)

Jump to

Keyboard shortcuts

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