agent

package
v0.0.0-...-9853328 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWTAgent

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

func NewJWTAgent

func NewJWTAgent(files ...string) *JWTAgent

func (*JWTAgent) Del

func (agent *JWTAgent) Del(name string)

func (*JWTAgent) Get

func (agent *JWTAgent) Get(name string) rule.Rule

func (*JWTAgent) Release

func (agent *JWTAgent) Release(name string, v map[string]any) rule.Rule

type PwdAgent

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

func NewPwdAgent

func NewPwdAgent(files ...string) *PwdAgent

func (*PwdAgent) Del

func (agent *PwdAgent) Del(name string)

func (*PwdAgent) Get

func (agent *PwdAgent) Get(name string) rule.Rule

func (*PwdAgent) Release

func (agent *PwdAgent) Release(name string, v map[string]any) rule.Rule

type RuleAgent

type RuleAgent interface {
	Del(name string)
	Get(name string) rule.Rule
	Release(name string, v map[string]any) rule.Rule
}

Jump to

Keyboard shortcuts

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