//
pkg.gl
Category
github.com/smallstep/certificates
internal
userid
package
0.28.2
Repository:
https://github.com/smallstep/certificates.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
1
Files
9 SLOC
#
Functions
FromContext
FromContext returns the user ID from the context if it exists and is not empty.
NewContext
NewContext returns a new context with the given user ID added to the context.