Versions in this module Expand all Collapse all v1 v1.0.0 Aug 26, 2026 Changes in this version + var ErrInvalidConfig = errors.New("webhooktest: invalid fixture configuration") + type Clock struct + func NewClock(now time.Time) *Clock + func (c *Clock) Advance(duration time.Duration) + func (c *Clock) Now() time.Time + func (c *Clock) Set(now time.Time) + type Fixture struct + Clock *Clock + Signer *webhook.Signer + Verifier *webhook.Verifier + func NewFixture(config FixtureConfig) (*Fixture, error) + func (f *Fixture) IDGenerator() (string, error) + type FixtureConfig struct + Algorithm webhook.Algorithm + IDPrefix string + KeyID string + NoncePrefix string + Secret []byte + Time time.Time + Tolerance time.Duration