package
0.0.0-20210609085741-fcaf2b73e8b7
Repository: https://github.com/akshit8/tdm.git
Documentation: pkg.go.dev
# Functions
NewDates convert internal.Dates to rest.Dates.
NewOpenAPI3 instantiates the OpenAPI specification for this service.
NewPriority converts the received domain type to a rest type, when the argument is unknown "none" is used.
NewTaskHandler creates new instance of TaskHandler.
RegisterOpenAPI registers open API config files to mux router.
# Structs
CreateTasksRequest defines the request used for creating tasks.
CreateTasksResponse defines the response returned back after creating tasks.
Dates indicates a point in time where a task starts or completes, dates are not enforced on Tasks.
ErrorResponse represents a response containing an error message.
GetTasksResponse defines the response returned back after searching one task.
Task is an activity that needs to be completed within a period of time.
TaskHandler ...
UpdateTasksRequest defines the request used for updating a task.