Skip to content

sjc5/go-signed-cookies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-signed-cookies

Overview

This is a simple, semi-opiniated package for handling signed cookies in Go apps.

It is essentially a higher-level convenience API built on top of github.com/gorilla/securecookie.

To figure out how to use this package, please peruse the source (well under 200 lines) and read the comments.

Secrets

Secrets are expected to be 32 or 64 bytes and in base64 format.

You can generate a secret with:

openssl rand -base64 32 # or 64

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published