Documentation ¶ Index ¶ type IRegistry type Node type Service Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type IRegistry ¶ type IRegistry interface { Register(service Service) UnRegister(service Service) UnRegisterById(id Service) GetService(name string) } type Node ¶ type Node struct { Id string `json:"id"` Address string `json:"address"` Metadata map[string]string `json:"metadata"` } type Service ¶ type Service struct { Id string Name string `json:"name"` Version string `json:"version"` Address string `json:"address"` Port int16 `json:"port"` Metadata map[string]string `json:"metadata"` } Source Files ¶ View all Source files iregistry.go Click to show internal directories. Click to hide internal directories.