package
Version:
v0.0.0-...-b66f5c4
Opens a new window with list of versions in this module.
Published: Jan 25, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AppConfig struct {
JWTSecret string `mapstructure:"jwt_secret"`
Gates []Gate `mapstructure:"gates"`
}
type Gate struct {
Path string `mapstructure:"path"`
Method string `mapstructure:"method"`
Rules []Rule `mapstructure:"rules"`
}
type Rule struct {
Name string `mapstructure:"name"`
Config interface{} `mapstructure:"config"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.