Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Configs = configset.Set[Config]{ Dev: &Config{ Cookie: sessions.DebugCookieConfig, CookieKeys: []string{ "0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000", }, }, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Cookie *sessions.CookieConfig `koanf:"cookie"` CookieKeys []string `koanf:"cookie_keys"` // pairs of sigining and encryption keys. }
type SessionData ¶
type Store ¶
type Store interface { Set(http.ResponseWriter, *SessionData) error Get(*http.Request) (*SessionData, error) Delete(http.ResponseWriter) }
Click to show internal directories.
Click to hide internal directories.