//
pkg.gl
Category
github.com/overkilling/overkill-todo-monolith-api
http
package
1.0.0
Repository:
https://github.com/overkilling/overkill-todo-monolith-api.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
80 SLOC
#
Functions
NewHealthcheckHandler
NewHealthcheckHandler creates a HTTP handler for serving a healthcheck endpoint.
NewRouter
NewRouter provides REST endpoint routing for the Todo API.
NewTodosHandler
NewTodosHandler creates a HTTP handler for serving a list of todos.
#
Structs
Endpoints
Endpoints specifies the Todo API endpoint configurations as a list of http.Handlers.
Router
Router represents a Todo's HTTP router, with the appropriate endpoints configured.