package
2.27.7
Repository: https://github.com/cs3org/reva.git
Documentation: pkg.go.dev

# Functions

ConvertToCS3PublicShare converts a DBShare to a CS3API public share.
ConvertToCS3ReceivedShare converts a DBShare to a CS3API collaboration received share.
ConvertToCS3Share converts a DBShare to a CS3API collaboration share.
ExtractGrantee retrieves the CS3API grantee from a formatted string.
ExtractGroupID retrieves a CS3API group ID from a string.
ExtractUserID retrieves a CS3API user ID from a string.
FormatGrantee formats a CS3API grantee to a string.
FormatGroupID formats a CS3API group ID to a string.
FormatUserID formats a CS3API user ID to a string.
InitAPITokenManager initializes a new APITokenManager.
IntTosharePerm retrieves read/write permissions from an integer.
IntToShareState retrieves the received share state from an integer.
ResourceTypeToItem maps a resource type to a string.
ResourceTypeToItemInt maps a resource type to an integer.
SharePermToInt maps read/write permissions to an integer.

# Structs

APITokenManager stores config related to api management.
DBShare stores information about user and public shares.
OIDCToken stores the OIDC token used to authenticate requests to the REST API service.