checker

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	// Client is the authenticated client.
	Client string
}

Credentials are the credentials used to check.

type Service

type Service interface {
	Check(ctx context.Context, credentials *Credentials, account string, operation string) bool
}

Service is the interface for checking client access to accounts.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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