Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessPermission ¶
type AccessPermission string
const ( AccessReadOnly AccessPermission = "ReadOnly" AccessWriteOnly AccessPermission = "WriteOnly" AccessReadWrite AccessPermission = "ReadWrite" )
type AccessPermissions ¶
type AccessPermissions []AccessPermission
type AccessPermissionsRepository ¶
type AccessPermissionsRepository interface { GetAccessPermissions() AccessPermissions RegisterAccessPermission(accessName AccessPermission) CheckPermissionExist(accessName string) bool }
func GetAccessPermissionsRepository ¶
func GetAccessPermissionsRepository() AccessPermissionsRepository
Click to show internal directories.
Click to hide internal directories.