com

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Security

type Security struct {
	// contains filtered or unexported fields
}

func NewSecurity

func NewSecurity(config config.Config) (*Security, error)

func (*Security) CheckBool

func (this *Security) CheckBool(token string, kind string, id string, action model.AuthAction) (allowed bool, err error)

func (*Security) CheckMultiple

func (this *Security) CheckMultiple(token string, kind string, ids []string, action model.AuthAction) (result map[string]bool, err error)

Jump to

Keyboard shortcuts

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