Documentation
¶
Overview ¶
Package webhook provides an explicit webhook-named HTTP correlation adapter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter keeps webhook propagation explicit at send and receive call sites.
func New ¶
func New(factory *correlation.Factory, options Options) (*Adapter, error)
New constructs an explicit webhook correlation adapter.
func (*Adapter) Send ¶
func (adapter *Adapter) Send(request *http.Request, parent correlation.Values) (correlation.Values, error)
Send creates and injects a fresh outbound webhook request hop.
type Options ¶
type Options = httpcorrelation.Options
Options configure webhook boundary trust and invalid input handling.
Click to show internal directories.
Click to hide internal directories.