package
0.0.0-20190926220743-41291ad6ef5a
Repository: https://github.com/mikibot/chrono.git
Documentation: pkg.go.dev
# Functions
ErrorJSON is a utility function to send an error from Json to the requester.
GetEndpointByID returns a specific endpoint based on id.
GetEndpoints returns all endpoints in a json format.
GetTasks gets all tasks and sends it over HTTP.
GetTasksOfID gets tasks for the user and sends it over HTTP.
PostEndpoint inserts a new endpoint if valid.
PostTasks queues a new task to the list.