Documentation ¶
Index ¶
- type GoPgStore
- func (s *GoPgStore) Cleanup()
- func (s *GoPgStore) Delete(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
- func (s *GoPgStore) Get(r *http.Request, name string) (*sessions.Session, error)
- func (s *GoPgStore) New(r *http.Request, name string) (*sessions.Session, error)
- func (s *GoPgStore) PeriodicCleanup(i time.Duration, quit <-chan struct{})
- func (s *GoPgStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoPgStore ¶
type GoPgStore struct { Codecs []securecookie.Codec Options *sessions.Options // contains filtered or unexported fields }
GoPgStore implements Session store
func (*GoPgStore) PeriodicCleanup ¶
PeriodicCleanup will execute expired sessions deletion per interval
Click to show internal directories.
Click to hide internal directories.