config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled get the singleton config instance's enabled

func Get

func Get() *config

Get get the singleton config instance

func GetExcludeNamespaces

func GetExcludeNamespaces() []string

GetExcludeNamespaces get the singleton config instance's excludeNamespaces

func GetIncludeNamespaces

func GetIncludeNamespaces() []string

GetIncludeNamespaces get the singleton config instance's includeNamespaces

func GetProxies

func GetProxies() map[string]string

GetProxies get the singleton config instance's proxies

func Reset

func Reset(in []byte)

Reset reset the singleton config instance. If in is empty, reset to default config

Types

This section is empty.

Jump to

Keyboard shortcuts

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