static

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticChecker

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

StaticChecker checks against a static list.

func New

func New(ctx context.Context, config *core.Permissions) (*StaticChecker, error)

New creates a new static checker.

func (*StaticChecker) Check

func (c *StaticChecker) Check(ctx context.Context, credentials *checker.Credentials, account string, operation string) bool

Check checks the client to see if the account is allowed.

Jump to

Keyboard shortcuts

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