###Etcd
Is the vulcand implementation for herald.
-- import "github.com/duckbunny/vulcand"
var (
KVPath string = "/vulcand/backends"
TTL int = 15
// Title for specifying herald in flags
Title string = "vulcand"
)
func BackendPath(s *service.Service) string
func BasePath(s *service.Service) string
func Register()
Register this herald with consul
func ServerPath(s *service.Service) string
func Url(s *service.Service) string
type Backend struct {
Type string `json:"Type"`
}
type Server struct {
URL string `json:"URL"`
}
type Vulcand struct {
*etcd.Etcd
}
func New() *Vulcand
func (v *Vulcand) Start(s *service.Service) error
func (v *Vulcand) Stop(s *service.Service) error