Documentation
¶
Overview ¶
Package forward provides Forwarder implementations that deliver non-HTTP trigger actions to downstream systems. This package is an extension seam; callers wire it in via the triggers.Forwarder interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// URL is the bus endpoint every custom action is posted to. Required.
URL string
// Method defaults to POST when empty.
Method string
// StaticHeaders are extra request headers, applied after the fixed ones.
StaticHeaders map[string]string
// Client sends the requests; nil selects http.DefaultClient.
Client *http.Client
}
Config is the HTTP bus forwarder's configuration.
Click to show internal directories.
Click to hide internal directories.