config

package
v0.0.0-...-087a31b Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(path string) error

Types

type Config

type Config struct {
	URL    string
	Domain string

	Rules []Rule
}
var CONFIG Config

type Policy

type Policy struct {
	Subjects  []string
	TwoFactor bool
}

type Rule

type Rule struct {
	Domain string
	Paths  []string
	Policy *Policy
}

Jump to

Keyboard shortcuts

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