Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPipelineHandlerNotFound = errors.New("requested pipeline handler does not exist")
)
Functions ¶
This section is empty.
Types ¶
type AuthenticationSession ¶
type AuthenticationSession struct {
Subject string `json:"subject"`
Extra map[string]interface{} `json:"extra"`
Header http.Header `json:"header"`
MatchContext MatchContext `json:"match_context"`
}
type ContextRequest ¶
type ContextResponse ¶
type MatchContext ¶
type Rule ¶
type Rule interface {
GetID() string
// ReplaceAllString searches the input string and replaces each match (with the rule's pattern)
// found with the replacement text.
ReplaceAllString(strategy configuration.MatchingStrategy, input, replacement string) (string, error)
}
Click to show internal directories.
Click to hide internal directories.