protocols

package
v0.0.0-...-82e0d81 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: LGPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtocolMatcher

type ProtocolMatcher interface {
	Matches(data []byte) bool

	GetTarget() string
	GetProtocol() string
	// contains filtered or unexported methods
}

type ProxyProtocolConfig

type ProxyProtocolConfig struct {
	Matchers []ProtocolMatcher
}

func Load

func Load(fileName string) (*ProxyProtocolConfig, error)

Jump to

Keyboard shortcuts

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