Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringMatch

type StringMatch struct {

	// exact string match
	Exact string `json:"exact,omitempty"`

	// prefix-based match
	Prefix string `json:"prefix,omitempty"`

	// suffix-based match.
	Suffix string `json:"suffix,omitempty"`

	// ECMAscript style regex-based match
	Regex string `json:"regex,omitempty"`
}

    Describes how to match a given string in HTTP headers. Match is case-sensitive.

    Source Files