matcher

package
v0.0.0-...-628caa9 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	label.BaseLabeler
	// contains filtered or unexported fields
}

type HostMatcher

type HostMatcher map[string]*linkedHost

type PathMatcher

type PathMatcher struct {
	// contains filtered or unexported fields
}

type RequestMatcher

type RequestMatcher struct {
	// contains filtered or unexported fields
}

func NewRequestMatcher

func NewRequestMatcher() *RequestMatcher

func (*RequestMatcher) Match

func (m *RequestMatcher) Match(req *http.Request)

func (*RequestMatcher) Update

func (m *RequestMatcher) Update(event watcher.Event, values ...interface{})

type TLSMatcher

type TLSMatcher struct {
	// contains filtered or unexported fields
}

func NewTLSMatcher

func NewTLSMatcher(s *store.CertificateStore) *TLSMatcher

func (*TLSMatcher) Match

func (m *TLSMatcher) Match(sni string, wildcard bool) *tls.Certificate

func (*TLSMatcher) Update

func (m *TLSMatcher) Update(event watcher.Event, updates ...interface{})

Jump to

Keyboard shortcuts

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