Versions in this module Expand all Collapse all v0 v0.1.1 Mar 27, 2022 v0.0.1 Mar 20, 2022 Changes in this version + func BuildPrefix(info *ServiceDesc) string + func BuildRegPath(info *ServiceDesc) string + func Exist(l []resolver.Address, addr resolver.Address) bool + func Remove(s []resolver.Address, addr resolver.Address) ([]resolver.Address, bool) + type Result struct + Action string + Data interface{} + type ServiceDesc struct + ID string + Metadata map[string]string + Name string + Tags []string + Version string + Weight int64 + func ParseValue(value []byte) (ServiceDesc, error) + func SplitPath(path string) (ServiceDesc, error) + func (s *ServiceDesc) Listen() (net.Listener, error) + type Watcher interface + Next func() (Result, error) + Stop func()