Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReplicaStorage ¶
func NewReplicaStorage ¶
func NewReplicaStorage(myAddress string, serviceName string, redisClient *redis.Client) *ReplicaStorage
func (*ReplicaStorage) GetMyAddress ¶
func (rs *ReplicaStorage) GetMyAddress() string
func (*ReplicaStorage) GetReplicas ¶
func (rs *ReplicaStorage) GetReplicas() (replicas []string, err error)
Click to show internal directories.
Click to hide internal directories.