package
0.0.0-20180108144400-194264adc583
Repository: https://github.com/ciao-project/ciao.git
Documentation: pkg.go.dev
# Functions
GetPrivilege returns the value of PrivKey.
GetTenantID returns the value of TenantIDKey.
SetPrivilege is used to set the value of PrivKey.
SetTenantID sets the value of Tenant ID.
# Constants
PrivKey is the index of the context map which indicates whether a service API has been called by a privileged user or not.
TenantIDKey is the index of the context map which indicates the tenant id which is being used in the API call.