Skip to content

Commit

Permalink
Add README install and docs sections
Browse files Browse the repository at this point in the history
  • Loading branch information
dghubble committed Nov 18, 2018
1 parent f691b35 commit 62ca1a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ Package `sessions` provides minimalist Go sessions, backed by `securecookie` or
* Provides `CookieStore` for managing client-side secure cookies.
* Extensible for custom session database backends.

## Install

```
go get github.com/dghubble/sessions
```

## Documentation

Read [GoDoc](https://godoc.org/github.com/dghubble/sessions)

### Differences from gorilla/sessions

* Gorilla stores a context map of Requests to Sessions to abstract multiple sessions. `dghubble/sessions` provides individual sessions, leaving multiple sessions to a `multisessions` package. No Registry is needed.
Expand Down

0 comments on commit 62ca1a0

Please sign in to comment.