Versions in this module Expand all Collapse all v1 v1.0.2 Mar 14, 2024 v1.0.1 Mar 14, 2024 Changes in this version + type Provider struct + Bucket string + Pool string + SavePath string + func (cp *Provider) SessionAll(context.Context) int + func (cp *Provider) SessionDestroy(ctx context.Context, sid string) error + func (cp *Provider) SessionExist(ctx context.Context, sid string) (bool, error) + func (cp *Provider) SessionGC(context.Context) + func (cp *Provider) SessionInit(ctx context.Context, maxlifetime int64, cfg string) error + func (cp *Provider) SessionRead(ctx context.Context, sid string) (session.Store, error) + func (cp *Provider) SessionRegenerate(ctx context.Context, oldsid, sid string) (session.Store, error) + type SessionStore struct + func (cs *SessionStore) Delete(ctx context.Context, key interface{}) error + func (cs *SessionStore) Flush(context.Context) error + func (cs *SessionStore) Get(ctx context.Context, key interface{}) interface{} + func (cs *SessionStore) SessionID(context.Context) string + func (cs *SessionStore) SessionRelease(ctx context.Context, w http.ResponseWriter) + func (cs *SessionStore) Set(ctx context.Context, key, value interface{}) error