Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPSender ¶
type HTTPSender interface {
// SetHTTPRequestHeaders sets up http request headers
SetHTTPRequestHeaders(httpRequestHeaders map[string]string)
// SetSecretData sets up http secret header
SetSecretData(name, valueKey, headerName, valuePrefix string)
// HTTPPost sends http POST request with data
HTTPPost(dic *di.Container, data any) errors.Error
}
HTTPSender is the interface for http requests
func NewHTTPSender ¶
func NewHTTPSender(url string, mimeType string) HTTPSender
NewHTTPSender creates, initializes and returns a new instance of HTTPSender
Click to show internal directories.
Click to hide internal directories.