authorization

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultModule

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

func NewDefaultModule

func NewDefaultModule(ctx context.Context) *DefaultModule

func (DefaultModule) IsAuthorized

func (dm DefaultModule) IsAuthorized(plan, option string) (bool, error)

type Module

type Module interface {
	IsAuthorized(plan, option string) (bool, error)
}

Jump to

Keyboard shortcuts

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