github.com/kr/session
Package session provides a convenient way to store session data (such as a user ID) securely in a web browser cookie or other authentication token. Cookie values generated by this package use modern authenticated encryption, so they can't be inspected or altered by client processes. Most users of this package will use functions Set and Get, which manage cookies directly. An analogous pair of functions, Encode and Decode, help when the session data will be stored somewhere other than a browser cookie; for example, an API token configured by hand in an API client process.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 3 years ago
v0.2.1
almost 3 years ago
Versions
3
3
Dependent Packages
4
4
Dependent Repos
16
16
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/kr/session
spec |
| License | MIT |
| Namespace | github.com/kr |
| First Release | almost 8 years ago |
| Last Synced | 22 days ago |
Repository
| Stars | 20 on GitHub |
| Forks | 3 on GitHub |
Rankings on proxy.golang.org
Overall
Top 5.5%
Dependent packages
Top 2.8%
Dependent repos
Top 1.3%
Forks
Top 9.9%