auto-deploy-service/README.md
2021-06-13 23:03:52 +08:00

459 B

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