Versions in this module Expand all Collapse all v0 v0.0.2 Jan 31, 2022 Changes in this version + const VERSION v0.0.1 Jan 29, 2022 Changes in this version + const MEDIA_STREAMS_COUNT + const PUDELEK_BASE_URL + const PUDL_CONFIG_FILE + const REFRESH_THROTTLE + const SELECTOR_BASE + const TIMEOUT + var ErrNothingCached = errors.New("Nothing is cached yet") + var ErrNothingFound = errors.New(...) + var ErrOutOfCacheBounds = errors.New("index provided by user is out of usable bounds") + var SHOW_LOG = false + func Cache() error + func Display(pudlsToShow *[]Pudl, oldPudls *[]Pudl, maxCount int) + func EnableLogs() + func List() error + func ScrapePudelekFrontPage() (*[]Pudl, error) + func Show(puldId int) error + func Top() error + type Pudl struct + Title string + Url string + type PudlData struct + Config struct{ ... } + Data []Pudl + LastFetchTime time.Time + func LoadConfigFromFile() (*PudlData, error) + func LoadDataFromYaml(rawYamlData []byte) (*PudlData, error) + func (pd *PudlData) SaveToFile() error + func (pd *PudlData) ToYaml() ([]byte, error)