Versions in this module Expand all Collapse all v0 v0.1.0 Apr 15, 2026 Changes in this version + func EnterEventWebhookHandler(si WebhookReceiverInterface, ...) http.Handler + func ExitEventWebhookHandler(si WebhookReceiverInterface, ...) http.Handler + func GetOpenAPISpecJSON() ([]byte, error) + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler + func NewEnterEventWebhookRequest(targetURL string, body EnterEventJSONRequestBody) (*http.Request, error) + func NewEnterEventWebhookRequestWithBody(targetURL string, contentType string, body io.Reader) (*http.Request, error) + func NewExitEventWebhookRequest(targetURL string, body ExitEventJSONRequestBody) (*http.Request, error) + func NewExitEventWebhookRequestWithBody(targetURL string, contentType string, body io.Reader) (*http.Request, error) + type EnterEventJSONRequestBody = Person + type ExitEventJSONRequestBody = Person + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type MiddlewareFunc func(http.Handler) http.Handler + type Person struct + Name string + func (s *Person) ApplyDefaults() + type PostAPIWebhookKindParameter string + const EnterEvent + const ExitEvent + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type RequiredHeaderError struct + Err error + ParamName string + func (e *RequiredHeaderError) Error() string + func (e *RequiredHeaderError) Unwrap() error + type RequiredParamError struct + ParamName string + func (e *RequiredParamError) Error() string + type ServeMux interface + HandleFunc func(pattern string, handler func(http.ResponseWriter, *http.Request)) + ServeHTTP func(w http.ResponseWriter, r *http.Request) + type ServerInterface interface + DeregisterWebhook func(w http.ResponseWriter, r *http.Request, id oapiCodegenTypesPkg.UUID) + RegisterWebhook func(w http.ResponseWriter, r *http.Request, kind string) + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) DeregisterWebhook(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) RegisterWebhook(w http.ResponseWriter, r *http.Request) + type SimpleWebhookInitiator struct + func NewSimpleWebhookInitiator(opts ...WebhookInitiatorOption) (*SimpleWebhookInitiator, error) + type StdHTTPServerOptions struct + BaseRouter ServeMux + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error + type WebhookHttpError struct + Body E + RawBody []byte + StatusCode int + func (e *WebhookHttpError[E]) Error() string + type WebhookInitiator struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + func NewWebhookInitiator(opts ...WebhookInitiatorOption) (*WebhookInitiator, error) + func (p *WebhookInitiator) EnterEvent(ctx context.Context, targetURL string, body EnterEventJSONRequestBody, ...) (*http.Response, error) + func (p *WebhookInitiator) EnterEventWithBody(ctx context.Context, targetURL string, contentType string, body io.Reader, ...) (*http.Response, error) + func (p *WebhookInitiator) ExitEvent(ctx context.Context, targetURL string, body ExitEventJSONRequestBody, ...) (*http.Response, error) + func (p *WebhookInitiator) ExitEventWithBody(ctx context.Context, targetURL string, contentType string, body io.Reader, ...) (*http.Response, error) + type WebhookInitiatorInterface interface + EnterEvent func(ctx context.Context, targetURL string, body EnterEventJSONRequestBody, ...) (*http.Response, error) + EnterEventWithBody func(ctx context.Context, targetURL string, contentType string, body io.Reader, ...) (*http.Response, error) + ExitEvent func(ctx context.Context, targetURL string, body ExitEventJSONRequestBody, ...) (*http.Response, error) + ExitEventWithBody func(ctx context.Context, targetURL string, contentType string, body io.Reader, ...) (*http.Response, error) + type WebhookInitiatorOption func(*WebhookInitiator) error + func WithWebhookHTTPClient(doer HttpRequestDoer) WebhookInitiatorOption + func WithWebhookRequestEditorFn(fn RequestEditorFn) WebhookInitiatorOption + type WebhookReceiverInterface interface + HandleEnterEventWebhook func(w http.ResponseWriter, r *http.Request) + HandleExitEventWebhook func(w http.ResponseWriter, r *http.Request) + type WebhookReceiverMiddlewareFunc func(http.Handler) http.Handler + type WebhookRegistration struct + URL string + func (s *WebhookRegistration) ApplyDefaults() + type WebhookRegistrationResponse struct + ID oapiCodegenTypesPkg.UUID + func (s *WebhookRegistrationResponse) ApplyDefaults()