abac

package
v2.0.0-...-975283c Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Prefix = "ABAC::"
)

Variables

This section is empty.

Functions

func MakeABAC

func MakeABAC(obj interface{}) (string, error)

MakeABAC .

Types

type AbacAttrList

type AbacAttrList struct {
	V0      string
	V1      string
	V2      string
	V3      string
	V4      string
	V5      string
	NameMap map[string]string
}

func Resolve

func Resolve(obj string) (AbacAttrList, error)

Resolve .

func (AbacAttrList) GetCacheKey

func (attr AbacAttrList) GetCacheKey() string

GetCacheKey .

Jump to

Keyboard shortcuts

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