Versions in this module Expand all Collapse all v0 v0.1.0 Oct 24, 2025 Changes in this version + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler + func NewGetInputRequest(server string) (*http.Request, error) + func NewPostCallbackRequest(server string, body PostCallbackJSONRequestBody) (*http.Request, error) + func NewPostCallbackRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostGetSubtaskResultRequest(server string, body PostGetSubtaskResultJSONRequestBody) (*http.Request, error) + func NewPostGetSubtaskResultRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostRegisterTasksRequest(server string, body PostRegisterTasksJSONRequestBody) (*http.Request, error) + func NewPostRegisterTasksRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostRunSubtaskRequest(server string, body PostRunSubtaskJSONRequestBody) (*http.Request, error) + func NewPostRunSubtaskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + type CallbackRequest struct + Complete *TaskComplete + Error *TaskError + type ChiServerOptions struct + BaseRouter chi.Router + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetInput(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) PostCallback(ctx context.Context, body PostCallbackJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostCallbackWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostGetSubtaskResult(ctx context.Context, body PostGetSubtaskResultJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostGetSubtaskResultWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostRegisterTasks(ctx context.Context, body PostRegisterTasksJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostRegisterTasksWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostRunSubtask(ctx context.Context, body PostRunSubtaskJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostRunSubtaskWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + GetInput func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + PostCallback func(ctx context.Context, body PostCallbackJSONRequestBody, ...) (*http.Response, error) + PostCallbackWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PostGetSubtaskResult func(ctx context.Context, body PostGetSubtaskResultJSONRequestBody, ...) (*http.Response, error) + PostGetSubtaskResultWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PostRegisterTasks func(ctx context.Context, body PostRegisterTasksJSONRequestBody, ...) (*http.Response, error) + PostRegisterTasksWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PostRunSubtask func(ctx context.Context, body PostRunSubtaskJSONRequestBody, ...) (*http.Response, error) + PostRunSubtaskWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) GetInputWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInputResponse, error) + func (c *ClientWithResponses) PostCallbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostCallbackResponse, error) + func (c *ClientWithResponses) PostCallbackWithResponse(ctx context.Context, body PostCallbackJSONRequestBody, ...) (*PostCallbackResponse, error) + func (c *ClientWithResponses) PostGetSubtaskResultWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostGetSubtaskResultResponse, error) + func (c *ClientWithResponses) PostGetSubtaskResultWithResponse(ctx context.Context, body PostGetSubtaskResultJSONRequestBody, ...) (*PostGetSubtaskResultResponse, error) + func (c *ClientWithResponses) PostRegisterTasksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostRegisterTasksResponse, error) + func (c *ClientWithResponses) PostRegisterTasksWithResponse(ctx context.Context, body PostRegisterTasksJSONRequestBody, ...) (*PostRegisterTasksResponse, error) + func (c *ClientWithResponses) PostRunSubtaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostRunSubtaskResponse, error) + func (c *ClientWithResponses) PostRunSubtaskWithResponse(ctx context.Context, body PostRunSubtaskJSONRequestBody, ...) (*PostRunSubtaskResponse, error) + type ClientWithResponsesInterface interface + GetInputWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInputResponse, error) + PostCallbackWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PostCallbackResponse, error) + PostCallbackWithResponse func(ctx context.Context, body PostCallbackJSONRequestBody, ...) (*PostCallbackResponse, error) + PostGetSubtaskResultWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PostGetSubtaskResultResponse, error) + PostGetSubtaskResultWithResponse func(ctx context.Context, body PostGetSubtaskResultJSONRequestBody, ...) (*PostGetSubtaskResultResponse, error) + PostRegisterTasksWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PostRegisterTasksResponse, error) + PostRegisterTasksWithResponse func(ctx context.Context, body PostRegisterTasksJSONRequestBody, ...) (*PostRegisterTasksResponse, error) + PostRunSubtaskWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PostRunSubtaskResponse, error) + PostRunSubtaskWithResponse func(ctx context.Context, body PostRunSubtaskJSONRequestBody, ...) (*PostRunSubtaskResponse, error) + type GetInput200JSONResponse InputResponse + func (response GetInput200JSONResponse) VisitGetInputResponse(w http.ResponseWriter) error + type GetInput500Response struct + func (response GetInput500Response) VisitGetInputResponse(w http.ResponseWriter) error + type GetInputRequestObject struct + type GetInputResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *InputResponse + func ParseGetInputResponse(rsp *http.Response) (*GetInputResponse, error) + func (r GetInputResponse) Status() string + func (r GetInputResponse) StatusCode() int + type GetInputResponseObject interface + VisitGetInputResponse func(w http.ResponseWriter) error + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type InputResponse struct + Input []byte + TaskName string + 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 PostCallback200Response struct + func (response PostCallback200Response) VisitPostCallbackResponse(w http.ResponseWriter) error + type PostCallback400Response struct + func (response PostCallback400Response) VisitPostCallbackResponse(w http.ResponseWriter) error + type PostCallback401Response struct + func (response PostCallback401Response) VisitPostCallbackResponse(w http.ResponseWriter) error + type PostCallback403Response struct + func (response PostCallback403Response) VisitPostCallbackResponse(w http.ResponseWriter) error + type PostCallback500Response struct + func (response PostCallback500Response) VisitPostCallbackResponse(w http.ResponseWriter) error + type PostCallbackJSONRequestBody = CallbackRequest + type PostCallbackRequestObject struct + Body *PostCallbackJSONRequestBody + type PostCallbackResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostCallbackResponse(rsp *http.Response) (*PostCallbackResponse, error) + func (r PostCallbackResponse) Status() string + func (r PostCallbackResponse) StatusCode() int + type PostCallbackResponseObject interface + VisitPostCallbackResponse func(w http.ResponseWriter) error + type PostGetSubtaskResult200JSONResponse SubtaskResultResponse + func (response PostGetSubtaskResult200JSONResponse) VisitPostGetSubtaskResultResponse(w http.ResponseWriter) error + type PostGetSubtaskResult500Response struct + func (response PostGetSubtaskResult500Response) VisitPostGetSubtaskResultResponse(w http.ResponseWriter) error + type PostGetSubtaskResultJSONRequestBody = SubtaskResultRequest + type PostGetSubtaskResultRequestObject struct + Body *PostGetSubtaskResultJSONRequestBody + type PostGetSubtaskResultResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *SubtaskResultResponse + func ParsePostGetSubtaskResultResponse(rsp *http.Response) (*PostGetSubtaskResultResponse, error) + func (r PostGetSubtaskResultResponse) Status() string + func (r PostGetSubtaskResultResponse) StatusCode() int + type PostGetSubtaskResultResponseObject interface + VisitPostGetSubtaskResultResponse func(w http.ResponseWriter) error + type PostRegisterTasks200Response struct + func (response PostRegisterTasks200Response) VisitPostRegisterTasksResponse(w http.ResponseWriter) error + type PostRegisterTasks400Response struct + func (response PostRegisterTasks400Response) VisitPostRegisterTasksResponse(w http.ResponseWriter) error + type PostRegisterTasks500Response struct + func (response PostRegisterTasks500Response) VisitPostRegisterTasksResponse(w http.ResponseWriter) error + type PostRegisterTasksJSONRequestBody = Tasks + type PostRegisterTasksRequestObject struct + Body *PostRegisterTasksJSONRequestBody + type PostRegisterTasksResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostRegisterTasksResponse(rsp *http.Response) (*PostRegisterTasksResponse, error) + func (r PostRegisterTasksResponse) Status() string + func (r PostRegisterTasksResponse) StatusCode() int + type PostRegisterTasksResponseObject interface + VisitPostRegisterTasksResponse func(w http.ResponseWriter) error + type PostRunSubtask200JSONResponse RunSubtaskResponse + func (response PostRunSubtask200JSONResponse) VisitPostRunSubtaskResponse(w http.ResponseWriter) error + type PostRunSubtask500Response struct + func (response PostRunSubtask500Response) VisitPostRunSubtaskResponse(w http.ResponseWriter) error + type PostRunSubtaskJSONRequestBody = RunSubtaskRequest + type PostRunSubtaskRequestObject struct + Body *PostRunSubtaskJSONRequestBody + type PostRunSubtaskResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *RunSubtaskResponse + func ParsePostRunSubtaskResponse(rsp *http.Response) (*PostRunSubtaskResponse, error) + func (r PostRunSubtaskResponse) Status() string + func (r PostRunSubtaskResponse) StatusCode() int + type PostRunSubtaskResponseObject interface + VisitPostRunSubtaskResponse func(w http.ResponseWriter) error + 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 RetryConfig struct + Factor *float32 + MaxRetries *int + WaitDurationMs *int64 + type RunSubtaskRequest struct + Input *[]byte + TaskName string + type RunSubtaskResponse struct + TaskRunId string + type ServerInterface interface + GetInput func(w http.ResponseWriter, r *http.Request) + PostCallback func(w http.ResponseWriter, r *http.Request) + PostGetSubtaskResult func(w http.ResponseWriter, r *http.Request) + PostRegisterTasks func(w http.ResponseWriter, r *http.Request) + PostRunSubtask func(w http.ResponseWriter, r *http.Request) + func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface + func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, ...) ServerInterface + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) GetInput(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) PostCallback(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) PostGetSubtaskResult(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) PostRegisterTasks(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) PostRunSubtask(w http.ResponseWriter, r *http.Request) + type StrictHTTPServerOptions struct + RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc + type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc + type StrictServerInterface interface + GetInput func(ctx context.Context, request GetInputRequestObject) (GetInputResponseObject, error) + PostCallback func(ctx context.Context, request PostCallbackRequestObject) (PostCallbackResponseObject, error) + PostGetSubtaskResult func(ctx context.Context, request PostGetSubtaskResultRequestObject) (PostGetSubtaskResultResponseObject, error) + PostRegisterTasks func(ctx context.Context, request PostRegisterTasksRequestObject) (PostRegisterTasksResponseObject, error) + PostRunSubtask func(ctx context.Context, request PostRunSubtaskRequestObject) (PostRunSubtaskResponseObject, error) + type SubtaskResultRequest struct + TaskRunId string + type SubtaskResultResponse struct + Complete *TaskComplete + Error *TaskError + StillRunning bool + type Task struct + Name string + Options *TaskOptions + type TaskComplete struct + Output []byte + type TaskError struct + Details string + StackTrace *string + type TaskOptions struct + Retry *RetryConfig + type Tasks struct + Tasks []Task + 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 Unimplemented struct + func (_ Unimplemented) GetInput(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) PostCallback(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) PostGetSubtaskResult(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) PostRegisterTasks(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) PostRunSubtask(w http.ResponseWriter, r *http.Request) + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error