Documentation
¶
Overview ¶
Package webhook delivers events to registered endpoints: HMAC-signed JSON POSTs with bounded retries, exponential backoff, and dead-lettering.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deliverer ¶
type Deliverer struct {
St *store.Store
AllowLocal bool
RetryBase time.Duration // first retry delay; doubles per attempt
MaxAttempts int
// contains filtered or unexported fields
}
func New ¶
New builds a deliverer whose dialer re-checks resolved addresses at connect time, so a DNS answer that changes after ValidateURL still cannot reach private space.
Source Files
¶
- webhook.go
Click to show internal directories.
Click to hide internal directories.