Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertSearchString ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client used to interact with the Mixcloud API
func (*Client) FilterResults ¶
func (*Client) GetMixItems ¶
GetMixItems returns a slice of strings which are the keys of the mix data
func (*Client) GetOffsetURL ¶
GetOffsetURL returns a mixcloud search URL from the offset passed in.
func (*Client) PrintResults ¶
func (c *Client) PrintResults()
PrintResults prints results to stdout should be replaced by a func that returns string
func (*Client) SearchAsync ¶
SearchAsync runs up to 5 workers asynchronously to search mixcloud using a search term and a range of offsets
type Item ¶
type Item struct {
Key string `json:"key"` // Key is the mix key field of the item
}
Item is a search result for a single mix
Click to show internal directories.
Click to hide internal directories.