Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 755 Bytes

README.md

File metadata and controls

48 lines (39 loc) · 755 Bytes

macedon-go

Description

Http (with purge dns) api for consul

  • create a record
  • delete a record
  • read a record

Config Sample

[default]
addr: host:ip

log: macedon.log
level: debug

location: /dns
purge_ips: "192.168.0.1"
purge_cmd: "purge dns"
ssh_key: /username/.ssh/id_rsa
ssh_port: 22
ssh_user: username
ssh_timeout: 20

consul_addrs: consul_server
domain: domain

Usage

  • -f config file
  • -h help
  • -v version
  • SIGHUP reload purge ips

Schema

Dependency