condition

package
v0.0.0-...-6685179 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JudgeConditons

func JudgeConditons(conditions []Condition, resp *http.Response, onEmpty bool) bool

Types

type Condition

type Condition interface {
	Prepare() error
	Judge(*http.Response) bool
}

func ParseConditon

func ParseConditon(in ...*config.Condition) ([]Condition, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳