permissions

package
v0.0.0-...-8f6ea6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL