Documentation
¶
Index ¶
Constants ¶
View Source
const (
HTTP_AUTH_TYPE_BASIC = "basic"
)
Variables ¶
Functions ¶
Types ¶
type Config ¶
type Config struct {
ToPath string `json:"toPath,omitempty"`
FromPath string `json:"fromPath,omitempty"`
Url string `json:"url,omitempty"`
UrlPath string `json:"urlPath,omitempty"`
Method string `json:"method,omitempty"`
Body string `json:"body,omitempty"`
Headers map[string]string `json:"headers,omitempty"`
EmptyPathValueRequired *bool `json:"emptyPathValueRequired,omitempty"`
Auth *Auth `json:"auth,omitempty"`
}
Config can be passed into NewFilter() in order to configure the behavior of the sender.
func (Config) WithDefaults ¶
Click to show internal directories.
Click to hide internal directories.