authlyconfig

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadLuaString

func LoadLuaString(script string) (*authly.Config, error)

LoadLuaString parses a Lua config string and returns an authly.Config. Exported for testing convenience.

Types

type Loader

type Loader interface {
	Load(ctx context.Context) (*authly.Config, error)
}

Loader loads an authly.Config from a source.

func FromGo

func FromGo(cfg authly.Config) Loader

FromGo creates a Loader that returns the provided config directly.

func FromJSONFile

func FromJSONFile(path string) Loader

FromJSONFile creates a Loader that reads config from a JSON file.

func FromLuaFile

func FromLuaFile(path string) Loader

FromLuaFile creates a Loader that reads config from a Lua file.

Jump to

Keyboard shortcuts

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