Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ImageSizes = []string{
"t120x120",
"t1240x260",
"t200x200",
"t20x20",
"t240x240",
"t2480x520",
"t250x250",
"t300x300",
"t40x40",
"t47x47",
"t500x",
"t500x500",
"t50x50",
"t60x60",
"t67x67",
"t80x80",
"tx250",
}
View Source
var LogLevel format.LogLevel
Functions ¶
This section is empty.
Types ¶
type Media ¶
type Media struct {
// cf-media.sndcdn.com/QaV7QR1lxpc6.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJ...
URL string
}
type Track ¶
type Track struct {
Display_Date string // 2021-04-12T07:00:01Z
ID int
Media struct {
Transcodings []struct {
Format struct {
Protocol string
}
// api-v2.soundcloud.com/media/soundcloud:tracks:103650107/
// aca81dd5-2feb-4fc4-a102-036fb35fe44a/stream/progressive
URL string
}
}
Title string
Artwork_URL string
User struct {
Avatar_URL string
Username string
}
}
func (Track) Progressive ¶ added in v1.40.8
Click to show internal directories.
Click to hide internal directories.