Versions in this module Expand all Collapse all v1 v1.0.3 Jul 17, 2021 v1.0.1 Jul 17, 2021 Changes in this version + const ApplicationID + const GroupID + const NamespaceID + const NsGlobal + const NsLocal + const Region + const StatusDown + const StatusUp + type Instance struct + Host string + ID string + Metadata map[string]string + Port int + Region string + Service *Service + Status int64 + Tags []string + func FromKratosInstance(ki *registry.ServiceInstance) (inss []*Instance) + func (i Instance) Addr() string + func (i Instance) ToKratosInstance() *registry.ServiceInstance + type Service struct + Name string + Namespace string + func NewService(namespace string, name string) *Service