package
0.0.0-20250109065143-2c4a1334cb04
Repository: https://github.com/retr0h/osapi.git
Documentation: pkg.go.dev
# Functions
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
# Structs
PostTaskJSONBody defines parameters for PostTask.
ServerInterfaceWrapper converts echo contexts to parameters.
TaskErrorResponse defines model for task.ErrorResponse.
TaskItemIdResponse defines model for TaskItemIdResponse.
TaskItemResponse defines model for TaskItemResponse.
TaskResponse defines model for TaskResponse.
TaskStatusResponse defines model for TaskStatusResponse.
# Interfaces
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
ServerInterface represents all server handlers.
# Type aliases
PostTaskJSONRequestBody defines body for PostTask for application/json ContentType.