Documentation ¶
Index ¶
- func CompareVerifier(cookie string, stored string) (compare bool, err error)
- func GenerateCookieVerifier() (string, string, error)
- func RebuildUUID(uuidStr string) (string, error)
- func StripUUID(uuidStr string) string
- func UnwrapCookie(cookie string) (identifier string, verifier string, err error)
- type EZCookie
- type EzOptions
- type EzSesh
- type EzStore
- type EzStoreMethods
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVerifier ¶
Uses crypto/subtle
func GenerateCookieVerifier ¶
func RebuildUUID ¶
Types ¶
type EzStore ¶
type EzStore struct { EzStoreMethods Options *EzOptions }
type EzStoreMethods ¶
type EzStoreMethods interface { Create(w http.ResponseWriter, assocValue string) error GetByAssociation(assocValue string) (session interface{}, err error) GetSessionByID(sessionId string, destination interface{}) error DeleteSession(sessionId string) error DeleteSessionByAssoc(assoc string) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.