Documentation ¶
Overview ¶
Package http handles interactions over HTTP
Index ¶
Constants ¶
View Source
const ( // BodyParameterMode is a configuration flag specifying the value passed via // HTTP should be through the HTTP body parameter BodyParameterMode = "body" // QueryParameterMode is a configuration flag specifying the value passed // via HTTP should be through the HTTP query parameter QueryParameterMode = "query" )
View Source
const ( // QueryParameterKey is the key of the query parameter passed if the query // parameter mode is used, in the form https://example.com?value="DATA" QueryParameterKey = "value" )
View Source
const Type = "http"
Type http represents an HTTP request
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Execute ¶
Execute represents a way to execute HTTP requests with values as parameters.
func (*Execute) ExecuteWithValue ¶
ExecuteWithValue executes an HTTP request with the value provided as parameter, configurable to be either in the body or query string
Click to show internal directories.
Click to hide internal directories.