Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessConfig ¶
type AccessConfig interface { // Get returns obj and act if proxy uri is protected by permission. Get(uri, method string) (string, string) }
AccessConfig checks if proxy uri must be protected by permission.
func LoadAccessConfig ¶
func LoadAccessConfig(configDir string) (AccessConfig, error)
LoadAccessConfig creates AccessConfig by config file.
Click to show internal directories.
Click to hide internal directories.