aboutsummaryrefslogtreecommitdiff
path: root/securecookie_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22 from cyx/use-reflect-deepequalKamil Kisiel2015-06-061-14/+2
|\ | | | | Use reflect.DeepEqual instead
| * Use reflect.DeepEqual insteadCyril David2015-05-251-14/+2
| | | | | | | | | | Unless there's something I'm missing, probably better to delegate this check to the reflect package.
* | Added a JSON encoder/decoder to securecookie.Matt Silverlock2015-05-201-4/+27
|/ | | | | | | | | A new "Serializer" interface with serialize/deserialize methods allows custom encoders to be specified. encoding/gob remains the default for compatibility/ease-of-use reasons, but the (often faster) encoding/json is now an option. Fixed typo - TestEncription => TestEncryption
* Add test for decoding some invalid cookies.Dmitry Chestnykh2015-03-271-0/+22
|
* Add TestMissingKeyAbdülhamit Yilmaz2015-03-171-0/+10
|
* Better errors for {En,De}codeMulti.Kamil Kisiel2013-10-171-0/+13
|
* Better errors for EncodeMulti and DecodeMulti. Closes #1.moraes2012-10-131-0/+13
|
* Initial files.moraes2012-10-031-0/+152