Versions in this module Expand all Collapse all v2 v2.42.2 Mar 11, 2023 Changes in this version + var ConfigDefault = Config + type Config struct + CookieDomain string + CookieHTTPOnly bool + CookieName string + CookiePath string + CookieSameSite string + CookieSecure bool + Expiration time.Duration + KeyGenerator func() string + KeyLookup string + Storage fiber.Storage + type Session struct + func (s *Session) Delete(key string) + func (s *Session) Destroy() error + func (s *Session) Fresh() bool + func (s *Session) Get(key string) interface{} + func (s *Session) ID() string + func (s *Session) Keys() []string + func (s *Session) Regenerate() error + func (s *Session) Save() error + func (s *Session) Set(key string, val interface{}) + func (s *Session) SetExpiry(exp time.Duration) + type Source string + const SourceCookie + const SourceHeader + const SourceURLQuery + type Store struct + func New(config ...Config) *Store + func (*Store) RegisterType(i interface{}) + func (s *Store) Get(c *fiber.Ctx) (*Session, error) + func (s *Store) Reset() error