Documentation
¶
Index ¶
Constants ¶
View Source
const MaxResponseSize = 2048
MaxResponseSize is the max response size for UDP test.
Variables ¶
View Source
var ErrInvalidType = errors.New("invalid type")
ErrInvalidType is raised when object type mismatch.
Functions ¶
func CreateExecutor ¶
func CreateExecutor(timeout time.Duration, validator ResponseValidator, hosts ...string) bender.RequestExecutor
CreateExecutor creates a new UDP RequestExecutor.
Types ¶
type ResponseValidator ¶
ResponseValidator validates a udp response.
Click to show internal directories.
Click to hide internal directories.