Versions in this module Expand all Collapse all v0 v0.1.1 Oct 10, 2021 v0.1.0 Oct 10, 2021 v0.0.2 Oct 10, 2021 v0.0.1 Oct 10, 2021 Changes in this version + func ConsulDeRegister() bool + func ConsulDiscoverServices() []interface + func ConsulRegister() bool + type Check struct + Args []string + DeregisterCriticalServiceAfter string + HTTP string + Interval string + TTL string + type ConsulDiscoverClient struct + func (consulClient *ConsulDiscoverClient) DeRegister() bool + func (consulClient *ConsulDiscoverClient) DiscoverServices() []interface{} + func (consulClient *ConsulDiscoverClient) Register() bool + type DiscoveryClient interface + DeRegister func() bool + DiscoverServices func() []interface{} + Register func() bool + type InstanceInfo struct + Address string + EnableTagOverride bool + ID string + Meta map[string]string + Name string + Port int + Service string + Tags []string + type Weights struct + Passing int + Warning int