yaml

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthStoreYAML

type AuthStoreYAML struct {
	ControlType string
	// Validator   auth.IAuthValidator
	Storage *store.Storage
	Loaded  bool
}

func YamlBackend

func YamlBackend(control string) (*AuthStoreYAML, error)

func (*AuthStoreYAML) GetResourceInfo

func (y *AuthStoreYAML) GetResourceInfo(method string, path string) (auth.IResourceInfo, error)

func (*AuthStoreYAML) GetUserAuthInfo

func (y *AuthStoreYAML) GetUserAuthInfo(ctx *fiber.Ctx, validator auth.IAuthValidator) (auth.IUserAuthInfo, error)

type YamlLoader

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

func (*YamlLoader) Init

func (l *YamlLoader) Init(args ...any) (loader.Library, error)

func (*YamlLoader) Name

func (a *YamlLoader) Name() string

func (*YamlLoader) SetName

func (a *YamlLoader) SetName(name string)

Jump to

Keyboard shortcuts

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