Versions in this module Expand all Collapse all v0 v0.7.1 Dec 4, 2021 v0.7.0 Dec 3, 2021 Changes in this version + type BodyValidator struct + func (m *BodyValidator) UnmarshalJSON(b []byte) error + func (v BodyValidator) Validate(data []byte) (pass []string, fail []string) + type HeaderValidator struct + func (m *HeaderValidator) UnmarshalJSON(data []byte) (err error) + func (v HeaderValidator) Validate(headers http.Header) (pass []string, fail []string) + type StatusCodeValidator struct + func (m *StatusCodeValidator) UnmarshalJSON(data []byte) (err error) + func (v StatusCodeValidator) Validate(code int) ([]string, []string)