timer

command module
v0.0.0-...-b2fc802 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 10 Imported by: 0

README

timer

Crontab web service

API

Create A Timer Task
POST /api/tasks
{
    "title": "An Alphanumeric Title",
    "cronexp": "cron expression",
    "url": "http://example.com/api/do",
    "method": "post",
    "headers": [
        "Content-Type=application/json",
    ],
    "body": "json bytes"
}

For cronexp please refer to this.

List All Tasks
GET /api/tasks
Delete A Task
DELETE /api/task?t=title1
Get A Task
GET /api/task?t=title1

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
dto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL