Go to file
Jay 49281cdc24
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
udpate
2021-06-15 00:13:05 +08:00
cmd/svc [feat] first version 2021-06-13 22:59:50 +08:00
contrib/systemd [fix] filename 2021-06-14 14:08:35 +08:00
pkg [feat] remove cgo and add cmd stderr output 2021-06-14 22:58:39 +08:00
.drone.yml udpate 2021-06-15 00:13:05 +08:00
.gitignore [feat] add makefile 2021-06-13 23:08:34 +08:00
config.yml.sample [feat] add sample config 2021-06-13 23:09:26 +08:00
go.mod update mod 2021-06-14 13:47:07 +08:00
go.sum update mod 2021-06-14 13:47:07 +08:00
LICENSE Initial commit 2021-06-13 11:36:49 +00:00
Makefile [feat] remove cgo and add cmd stderr output 2021-06-14 22:58:39 +08:00
README.md [feat] add readme 2021-06-13 23:03:52 +08:00

auto-deploy-service

Config struct

server:
  port: 10230 # server listen port
listens:
  - http:
      method: get # http method only support get and post
      path: /test # http register path
      headers: # header check map[string]string 
        x-validate-key: '123'
      script: /tmp/run.sh # script location required execute permission
  - http:
      method: post
      path: /test-post
      headers: {}
      script: /tmp/run.sh