zing

package
v0.0.0-...-69c76d4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZingPrefix = "zing"
)

Variables

This section is empty.

Functions

func GetSongID

func GetSongID(link string) string

GetSongID return song id from given link

func GetSongs

func GetSongs(listLink []string) []glod.Response

GetSongs return list of song

Types

type Zing

type Zing struct {
}
func (z *Zing) GetDirectLink(link string) ([]glod.Response, error)

function that input is a link then return an slice of url that permantly download file and error(if it has)

type ZingResponse

type ZingResponse struct {
	Title  string `json:"title"`
	Artist string `json:"artist"`
	Source struct {
		Url  string `json:"128"`
		Url2 string `json:"320"`
		Url3 string `json:"lossless"`
	} `json:"source"`
}

Jump to

Keyboard shortcuts

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