proxy

package
Version: v0.0.0-...-d841f61 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto