Skip to content

Chasiny/task_queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6e33c64 · Jun 4, 2018

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Simple Task Queue

Start

  • go run main.go

Add Task

curl -X POST localhost:8103 -d '{"id":"print-tim","cmd":"date","args":["-R"],"interval":5000}'

respon

{"ok":true,"error":"","id":"print-time","cmd":"","args":null,"interval":0}

Delete Task

curl -X DELETE localhost:8103 -d ' {"id":"print-time"}'

respon

{"ok":true,"error":"","id":"print-time","cmd":"","args":null,"interval":0}

About

定时任务队列

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages