radio

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentMirror

func GetCurrentMirror() string

func GetFavoritesPath

func GetFavoritesPath() (string, error)

func RefreshMirrors

func RefreshMirrors() error

func SaveFavorites

func SaveFavorites(favorites []Station) error

Types

type Station

type Station struct {
	Name       string `json:"name"`
	URL        string `json:"url_resolved"`
	Homepage   string `json:"homepage"`
	Favicon    string `json:"favicon"`
	Tags       string `json:"tags"`
	Country    string `json:"country"`
	Language   string `json:"language"`
	ClickCount int    `json:"clickcount"`
}

func GetStations

func GetStations(query string, tag string, limit int) ([]Station, error)

func LoadFavorites

func LoadFavorites() ([]Station, error)

Jump to

Keyboard shortcuts

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