package
0.22.5
Repository: https://github.com/usememos/memos.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
ExtractInboxIDFromName returns the inbox ID from a resource name.
ExtractMemoIDFromName returns the memo ID from a resource name.
ExtractResourceIDFromName returns the resource ID from a resource name.
ExtractStorageIDFromName returns the storage ID from a resource name.
ExtractUserIDFromName returns the uid from a resource name.
No description provided by the author
GenerateAccessToken generates an access token.
GetNameParentTokens returns the tokens from a resource name.
No description provided by the author
NewGRPCAuthInterceptor returns a new API auth interceptor.
No description provided by the author
SaveResourceBlob save the blob of resource based on the storage config.

# Constants

AccessTokenAudienceName is the audience name of the access token.
AccessTokenCookieName is the cookie name of access token.
No description provided by the author
No description provided by the author
CookieExpDuration expires slightly earlier than the jwt expiration.
No description provided by the author
No description provided by the author
No description provided by the author
issuer is the issuer of the jwt token.
Signing key section.
The upload memory buffer is 32 MiB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ThumbnailCacheFolder is the folder name where the thumbnail images are stored.
No description provided by the author
No description provided by the author

# Variables

MemoFilterCELAttributes are the CEL attributes.
SearchUsersFilterCELAttributes are the CEL attributes for SearchUsersFilter.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
GRPCAuthInterceptor is the auth interceptor for gRPC server.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

ContextKey is the key type of context value.