package
Version:
v3.21.1+incompatible
Opens a new window with list of versions in this module.
Published: May 11, 2018
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package session provides functions for sessions of incoming requests.
ContextWithID returns a new context with the given ID.
ID of a session.
IDFromContext returns ID in this context, or 0 if not contained.
NewID generates a new ID. The generated ID is high likely to be unique, but not cryptographically secure.
The generated ID will never be 0.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.