Documentation ¶
Index ¶
- Constants
- type NSEEntry
- type NSERegistry
- func (reg *NSERegistry) AppendClientRequest(workspace string) error
- func (reg *NSERegistry) AppendNSERegRequest(workspace string, nseReg *registry.NSERegistration) error
- func (reg *NSERegistry) Delete()
- func (reg *NSERegistry) DeleteClient(workspace string) error
- func (reg *NSERegistry) DeleteNSE(endpointid string) error
- func (reg *NSERegistry) LoadRegistry() (clients []string, nses map[string]NSEEntry, err error)
- func (reg *NSERegistry) Save(clients []string, nses map[string]NSEEntry) error
Constants ¶
View Source
const ( ClientRegistered = "CLE" NSERegistered = "NSE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NSEEntry ¶
type NSEEntry struct { Workspace string NseReg *registry.NSERegistration }
type NSERegistry ¶
type NSERegistry struct {
// contains filtered or unexported fields
}
func NewNSERegistry ¶
func NewNSERegistry(file string) *NSERegistry
func (*NSERegistry) AppendClientRequest ¶
func (reg *NSERegistry) AppendClientRequest(workspace string) error
func (*NSERegistry) AppendNSERegRequest ¶
func (reg *NSERegistry) AppendNSERegRequest(workspace string, nseReg *registry.NSERegistration) error
func (*NSERegistry) Delete ¶
func (reg *NSERegistry) Delete()
func (*NSERegistry) DeleteClient ¶
func (reg *NSERegistry) DeleteClient(workspace string) error
* Delete client workspace and all NSEs registered.
func (*NSERegistry) DeleteNSE ¶
func (reg *NSERegistry) DeleteNSE(endpointid string) error
func (*NSERegistry) LoadRegistry ¶
func (reg *NSERegistry) LoadRegistry() (clients []string, nses map[string]NSEEntry, err error)
Click to show internal directories.
Click to hide internal directories.