replicas

package
v0.0.0-...-2cfabc9 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package replicas provides functionality to manage master node sets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set interface {
	Join(lib.Master)
	Set([]lib.Master)
	All(func(lib.Master) error) error
	Has(lib.Master) bool
	Item() lib.Master
	Trial(func(lib.Master) error) error
	Instance() []lib.Master
	Collect() []string
	Size() int
}

func New

func New(nodes ...lib.Master) Set

Jump to

Keyboard shortcuts

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