Documentation ¶
Overview ¶
Package httpctx holds utilities for working with HTTP protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHTTPReqRes = errors.New("something wrong with HTTP(s) request/response")
ErrHTTPReqRes occurs when there is any problem with HTTP(s) req/res.
Functions ¶
This section is empty.
Types ¶
type RequestDoer ¶ added in v0.11.0
RequestDoer describes ability to make HTTP(s) requests.
type URLValidator ¶ added in v0.8.6
type URLValidator struct{}
URLValidator has ability to validate URL
func NewURLValidator ¶ added in v0.8.6
func NewURLValidator() URLValidator
func (URLValidator) Validate ¶ added in v0.8.6
func (U URLValidator) Validate(in interface{}) error
Validate checks whether in is valid URL
Click to show internal directories.
Click to hide internal directories.