From 62ca1a06171783222ac27b8e7567f345cd79bb82 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sun, 18 Nov 2018 15:26:04 -0800 Subject: [PATCH] Add README install and docs sections --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3075a94..1fcd362 100644 --- a/README.md +++ b/README.md @@ -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.