Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoInput ¶
type DoInput struct { JSON interface{} `json:"json"` Method string `json:"method" validate:"required,oneof=GET HEAD POST PUT DELETE OPTIONS PATCH"` Params map[string]string `json:"params"` Data []byte `json:"data"` Retries int `json:"retries" validate:"gte=0,lte=3"` Headers map[string]string `json:"headers"` URL string `json:"url" validate:"required,http_url"` }
func NewDoInput ¶
NewDoInput creates a DoInput object from a json object given as bytes
func (*DoInput) HTTPRequest ¶
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func (*HTTPHandler) AppName ¶
func (h *HTTPHandler) AppName() string
Click to show internal directories.
Click to hide internal directories.