Documentation ¶
Index ¶
Constants ¶
View Source
const (
// AccessTokenMetadataKey is used by Mnemosyne to retrieve session token from gRPC metadata object.
AccessTokenMetadataKey = "authorization"
)
Variables ¶
This section is empty.
Functions ¶
func AccessTokenFromContext ¶ added in v0.5.0
AccessTokenFromContext returns the token value stored in context, if any.
func NewAccessTokenContext ¶ added in v0.5.0
NewAccessTokenContext returns a new Context that carries token value.
func RandomAccessToken ¶ added in v0.5.0
RandomAccessToken generate Access Token with given key and generated hash of length 64.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
internal
|
|
discovery
Package discovery is under development.
|
Package discovery is under development. |
storage/storagemock
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 |
Package mnemosynerpc is a generated protocol buffer package.
|
Package mnemosynerpc is a generated protocol buffer package. |
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 |
Click to show internal directories.
Click to hide internal directories.