Skip to content

wxjs33/macedon-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

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

About

restful mysql api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages