Documentation
¶
Index ¶
- type MatcherParser
- type MatcherParserRegistry
- func (r *MatcherParserRegistry[T]) Add(name string, p MatcherParser[T]) error
- func (r *MatcherParserRegistry[T]) AddWithDefault(name string, p MatcherParser[T], defaultParam any) error
- func (r *MatcherParserRegistry[T]) ParseMatcher(v *model.Validator, x any) model.Matcher[T]
- func (r *MatcherParserRegistry[T]) ParseMatchers(v *model.Validator, x any) []model.Matcher[T]
- type StatusMatcherParser
- type StatusMatcherRegistry
- type StreamMatcherParser
- type StreamMatcherRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatcherParser ¶ added in v0.4.0
type MatcherParserRegistry ¶ added in v0.4.0
type MatcherParserRegistry[T any] struct { // contains filtered or unexported fields }
func NewMatcherParserRegistry ¶ added in v0.4.0
func NewMatcherParserRegistry[T any](target string) *MatcherParserRegistry[T]
func (*MatcherParserRegistry[T]) Add ¶ added in v0.4.0
func (r *MatcherParserRegistry[T]) Add(name string, p MatcherParser[T]) error
func (*MatcherParserRegistry[T]) AddWithDefault ¶ added in v0.4.0
func (r *MatcherParserRegistry[T]) AddWithDefault(name string, p MatcherParser[T], defaultParam any) error
func (*MatcherParserRegistry[T]) ParseMatcher ¶ added in v0.4.0
func (*MatcherParserRegistry[T]) ParseMatchers ¶ added in v0.4.0
type StatusMatcherParser ¶
type StatusMatcherParser = MatcherParser[int]
type StatusMatcherRegistry ¶
type StatusMatcherRegistry = MatcherParserRegistry[int]
func NewStatusMatcherRegistry ¶
func NewStatusMatcherRegistry() *StatusMatcherRegistry
type StreamMatcherParser ¶
type StreamMatcherParser = MatcherParser[[]byte]
type StreamMatcherRegistry ¶
type StreamMatcherRegistry = MatcherParserRegistry[[]byte]
func NewStreamMatcherRegistry ¶
func NewStreamMatcherRegistry() *StreamMatcherRegistry
Click to show internal directories.
Click to hide internal directories.