registry

command module
v0.0.0-...-5ce4331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 2 Imported by: 0

README

package main

import reg "github.com/Ishan27gOrg/registry/package"

type RegistryClientI interface {
	// Register self at this address/zone with registry
	Register(zone int, address string, meta reg.MetaData) reg.PeerResponse
	// GetZoneIds returns the zoneIds
	GetZoneIds() []int
	// GetZonePeers returns the addresses of zone peers
	GetZonePeers(zone int) reg.PeerResponse
	// GetDetails returns all registered peers details
	GetDetails() []string
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL