Versions in this module Expand all Collapse all v0 v0.1.0 Mar 18, 2021 Changes in this version + func InitConsulResolver(consul *api.Client, refreshTime *time.Duration) + func InitServices(consul *api.Client, refreshTime *time.Duration) + func ResetResolver() + type Service struct + Addresses []resolver.Address + Health healthFilter + Key string + LastIndex uint64 + Name string + Tags []string + type Services struct + func (srv *Services) Add(name string, tags []string, health healthFilter) *Service + func (srv *Services) Clear() + func (srv *Services) Find(key string) *Service