Deprecated: APIKeyAuth is part of the old generics-based v1 Go SDK. Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
| 42 | // Deprecated: APIKeyAuth is part of the old generics-based v1 Go SDK. |
| 43 | // Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go |
| 44 | type APIKeyAuth struct { |
| 45 | HeaderName string |
| 46 | APIKey string |
| 47 | } |
| 48 | |
| 49 | func (a APIKeyAuth) toCreateRequest(opts CreateWebhookOpts) (rest.V1CreateWebhookRequest, error) { |
| 50 | var req rest.V1CreateWebhookRequest |
nothing calls this directly
no outgoing calls
no test coverage detected