From 6da1bf5264913dfcb44ac266990c9549222e8e4b Mon Sep 17 00:00:00 2001 From: "Diogo Franco (Kovensky)" Date: Mon, 15 Jul 2013 01:25:32 -0300 Subject: [PATCH] anidb: Document that credentials are needed for UDP queries Commit messages aren't documentation :( --- anidb.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/anidb.go b/anidb.go index bfe81d1..491f667 100644 --- a/anidb.go +++ b/anidb.go @@ -10,6 +10,10 @@ import ( // All ObjectByKey methods (AnimeByID, GroupByName, etc) first try to read // from the cache. If the sought object isn't cached, or if the cache is // stale, then the appropriate API is queried. +// +// Queries that depend on the UDP API can't be used without first authenticating +// to the API server. This uses the credentials stored by SetCredentials, or +// by a previous Auth() call. type AniDB struct { Timeout time.Duration // Timeout for the various calls (default: 45s) -- 2.44.0