Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AskTrackQuery ¶
type AskTrackResponse ¶
type AskTrackResponse struct { Results []AskTrackResponseResult `json:"results"` Error string `json:"error,omitempty"` HTTPCode int `json:"httpCode,omitempty"` HTTPReason string `json:"httpReason,omitempty"` }
func (*AskTrackResponse) AddMeta ¶
func (r *AskTrackResponse) AddMeta(request *Request, document *lrc.Document) (err error)
func (*AskTrackResponse) FromRequest ¶
func (r *AskTrackResponse) FromRequest(request *Request) (err error)
type AskTrackResponseResult ¶
type AskTrackResponseResult struct { ID string `json:"id"` Name []string `json:"name"` AlName []string `json:"alname"` CircleName []string `json:"circlename"` Cover []AskTrackResponseResultCover `json:"cover2x"` }
type InvalidLanguageError ¶
type InvalidLanguageError struct {
Text string
}
func (*InvalidLanguageError) Error ¶
func (e *InvalidLanguageError) Error() string
type Request ¶
type TTTResponse ¶
type TTTResponse struct { Title string `json:"title,omitempty"` Table []*TTTResponseRow `json:"table,omitempty"` Error *TTTResponseError `json:"error,omitempty"` }
func (*TTTResponse) AddLines ¶
func (r *TTTResponse) AddLines(request *Request, document *lrc.Document) (err error)
func (*TTTResponse) FromRequest ¶
func (r *TTTResponse) FromRequest(request *Request) (err error)
type TTTResponseCell ¶
type TTTResponseError ¶
type TTTResponseRow ¶
type TTTResponseRow struct { Type string `json:"type"` Index int64 `json:"index"` Cell0 *TTTResponseCell `json:"0,omitempty"` Cell1 *TTTResponseCell `json:"1,omitempty"` Cell2 *TTTResponseCell `json:"2,omitempty"` }
func (*TTTResponseRow) FindLang ¶
func (row *TTTResponseRow) FindLang(lang string) string
Click to show internal directories.
Click to hide internal directories.