env_matchers

package
v0.0.0-...-9fede7b Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMatcher

func AddMatcher(e EnvMatcher)

Types

type EnvMatcher

type EnvMatcher interface {
	Match(key, value string)
}

func GetMatchers

func GetMatchers() []EnvMatcher

type HostMatcher

type HostMatcher struct{}

func (HostMatcher) Match

func (matcher HostMatcher) Match(key, val string)

type PasswordMatcher

type PasswordMatcher struct{}

func (PasswordMatcher) Match

func (matcher PasswordMatcher) Match(key, val string)

type PortKeyMatcher

type PortKeyMatcher struct{}

func (PortKeyMatcher) Match

func (matcher PortKeyMatcher) Match(key, val string)

type UsernameMatcher

type UsernameMatcher struct{}

func (UsernameMatcher) Match

func (matcher UsernameMatcher) Match(key, val string)

Jump to

Keyboard shortcuts

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