MCPcopy
hub / github.com/hatchet-dev/hatchet / APIKeyAuth

Struct APIKeyAuth

sdks/go/features/webhooks.go:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38type APIKeyAuth struct {
39 HeaderName string
40 APIKey string
41}
42
43func (a APIKeyAuth) toCreateRequest(opts CreateWebhookOpts) (rest.V1CreateWebhookRequest, error) {
44 var req rest.V1CreateWebhookRequest

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected