Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogStore ¶
type CatalogStore interface {
Add(name string, s ServiceInfo) bool
Get(name string) (ServiceInfo, bool)
}
func NewMemCatalogStore ¶
func NewMemCatalogStore() CatalogStore
type MemCatalogStore ¶
type MemCatalogStore struct {
// contains filtered or unexported fields
}
func (*MemCatalogStore) Add ¶
func (m *MemCatalogStore) Add(name string, s ServiceInfo) bool
func (*MemCatalogStore) Get ¶
func (m *MemCatalogStore) Get(name string) (ServiceInfo, bool)
type ServiceInfo ¶
type ServiceInfo struct {
Address string
Socket SocketType
}
Click to show internal directories.
Click to hide internal directories.