client

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Permissions

type Permissions struct {
	Client          permsrv.PermissionsService
	PermissionsList []string
}

Should perform.go setup its own client?

func NewPermission

func NewPermission(client permsrv.PermissionsService, permissionsList []string) *Permissions

func (Permissions) CanPerform

func (p Permissions) CanPerform(ctx context.Context, sender string) (bool, error)

Jump to

Keyboard shortcuts

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