Skip to content

Commit

Permalink
docs: mention store and delete must be followed with set cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
shaj13 committed May 22, 2020
1 parent ddc4fc1 commit f9b557d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions store/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
)

// Session implements Cache and provide adaptation to gorilla session store to work with the auth packages.
// Any Store or Delete operation must be followed by invoking SetCookie.
// Otherwise, the result of the caching will be lost.
type Session struct {
// Name represents session name will be passed to gorilla store
Name string
Expand Down

0 comments on commit f9b557d

Please sign in to comment.