Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderExtractor ¶
type HeaderExtractor struct {
HeaderName string `json:"headerName"`
}
HeaderExtractor extracts HTTP header values from a response.
func (HeaderExtractor) Extract ¶
func (e HeaderExtractor) Extract(ctx extractors.ResponseContext) (any, error)
func (HeaderExtractor) GetType ¶
func (e HeaderExtractor) GetType() spi.ExtractorType
type StatusCodeExtractor ¶
type StatusCodeExtractor struct{}
StatusCodeExtractor extracts the HTTP status code from a response.
func (StatusCodeExtractor) Extract ¶
func (e StatusCodeExtractor) Extract(ctx extractors.ResponseContext) (any, error)
func (StatusCodeExtractor) GetType ¶
func (e StatusCodeExtractor) GetType() spi.ExtractorType
Click to show internal directories.
Click to hide internal directories.