]>
git.lizzy.rs Git - go-anidb.git/log
Diogo Franco (Kovensky) [Sun, 14 Jul 2013 17:32:50 +0000 (14:32 -0300)]
udpapi: Avoid out-of-bounds access on malformed packets
Also reports the strconv.ParseInt error if it's not possible to decode
the reply's code.
Diogo Franco (Kovensky) [Sun, 14 Jul 2013 17:30:22 +0000 (14:30 -0300)]
httpapi: Better support for Resources
Diogo Franco (Kovensky) [Sat, 13 Jul 2013 02:22:02 +0000 (23:22 -0300)]
udpapi: Register types with encoding/gob
Diogo Franco (Kovensky) [Sat, 13 Jul 2013 02:12:55 +0000 (23:12 -0300)]
udpapi: Finish(?) partially-done refactor, fixes compilation
I didn't break the API with the previous commit :(
Diogo Franco (Kovensky) [Sat, 13 Jul 2013 02:03:50 +0000 (23:03 -0300)]
udpapi: Server-side timeouts are unrelated to UDP timeouts
Yay, first API breakage.
Diogo Franco (Kovensky) [Sat, 13 Jul 2013 01:57:20 +0000 (22:57 -0300)]
udpapi: escape & as & and \n as <br/>
Diogo Franco (Kovensky) [Sat, 13 Jul 2013 01:56:39 +0000 (22:56 -0300)]
misc: refactor, add tests, add list simplification method
Diogo Franco (Kovensky) [Fri, 12 Jul 2013 15:39:24 +0000 (12:39 -0300)]
misc: New module with common / useful code
Diogo Franco (Kovensky) [Fri, 12 Jul 2013 21:44:59 +0000 (18:44 -0300)]
titles: Specify how the search string is split
Diogo Franco (Kovensky) [Fri, 12 Jul 2013 21:20:00 +0000 (18:20 -0300)]
udp: rename to udpapi, reformat AniDBUDP documentation
Diogo Franco (Kovensky) [Fri, 12 Jul 2013 21:15:44 +0000 (18:15 -0300)]
titles: Document
Diogo Franco (Kovensky) [Fri, 12 Jul 2013 20:22:58 +0000 (17:22 -0300)]
Initial commit
For now, only includes low-level wrappers for AniDB's various APIs. The
current API is in no way frozen and may break at any time.
These are not intended for being used in third party code, but as building
blocks for a unified API library.
The HTTP wrapper does simple encoding/xml wrapping of the anime and categorylist
HTTP API calls. No caching is implemented.
The UDP wrapper does rate control internally and implements the essential
session-keeping API calls, but does no caching.