Versions in this module Expand all Collapse all v0 v0.1.1 Oct 9, 2026 Changes in this version + const APIDocsURL + const DashboardURL + const EnterpriseDocsURL + const ExitInterrupted + const NoTokenHint + const StandardTimeout + var EnterpriseParams = []string + var Providers = []string + func Clock(sec float64) string + func DoOnce[T any](ctx context.Context, a *app.App, call func(c *audd.Client) (T, error)) (T, error) + func Do[T any](ctx context.Context, a *app.App, call func(c *audd.Client) (T, error)) (T, error) + func Essential(v app.ResultView) string + func HTTPClient(a *app.App) *http.Client + func HealLogin(ctx context.Context, a *app.App, c *audd.Client, err error) (bool, error) + func IsAuthRejected(err error) bool + func MapError(err error, src config.TokenSource) error + func MatchesJSON(ms []audd.EnterpriseMatch) json.RawMessage + func NewClientFactory(a *app.App, opts ...audd.Option) func() (*audd.Client, error) + func NormalizeReturn(s string) (string, error) + func PreUpload(err error) bool + func Recognize(ctx context.Context, a *app.App, in media.Input, r Request) (json.RawMessage, error) + func RecognizeWithCause(ctx context.Context, a *app.App, in media.Input, r Request) (json.RawMessage, error) + func Redact(s string) string + func TokenSource(a *app.App) config.TokenSource + func Transport() http.RoundTripper + func UserAgent() string + func View(raw json.RawMessage, cached bool) (v app.ResultView, ok bool) + type Match struct + Album string + Artist string + EndOffset int + EndSeconds *float64 + ISRC string + Label string + ReleaseDate string + Score int + SongLink string + StartOffset int + StartSeconds *float64 + Timecode string + Title string + UPC string + func ParseMatches(raw json.RawMessage) []Match + type Request struct + Enterprise bool + EnterpriseOpts map[string]string + Limit *int + Offset float64 + Return string + func (r Request) CacheParams() map[string]string + func (r Request) Endpoint() string + func (r Request) EnterpriseOptions() (*audd.EnterpriseOptions, error) + type Track struct + Album string + Artist string + End string + EndSeconds float64 + ISRC string + Label string + Matches int + ReleaseDate string + Score int + SongLink string + Start string + StartSeconds float64 + Title string + UPC string + func Tracklist(matches []Match, skip int) []Track