package
Version:
v0.6.7
Opens a new window with list of versions in this module.
Published: Mar 20, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Map struct {
AllMethods bool `cfg:"all_methods"`
Methods []string `cfg:"methods"`
Roles []string `cfg:"roles"`
}
type PathMap struct {
RegexPath string `cfg:"regex_path"`
Map []Map `cfg:"map"`
}
type Redirect struct {
Enable bool `cfg:"enable"`
URL string `cfg:"url"`
}
type RoleCheck struct {
PathMap []PathMap `cfg:"path_map"`
AllowOthers bool `cfg:"allow_others"`
Redirect Redirect `cfg:"redirect"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.