/consultant

Helpful wrappers around Consul API

Primary LanguageGoMozilla Public License 2.0MPL-2.0

consultant

Helpful wrappers around Consul API client

Build Status

Client

Our Consultant Client is a wrapper around the Consul API Client. It provides

  • Simplified Service Retrieval (docs)
  • Simplified Service Registration (docs)
  • Simplified Key Retrieval (docs)

Managed Types

This package also provides a few "managed" types, complete with a Notification system.

Watch Plan Helpers

watch.go contains two sets of methods:

  • Package helper functions that will construct one of the already available watch functions provided by the consul watch package
  • Helper methods hanging off of our Client struct that will fill in some values based on the client's own definition

TODO:

  • More tests
  • More docs
  • More stuff
  • ManagedService consistency checks