primitives

package
v0.0.0-...-64299d5 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Leader   = "leader"
	Follower = "follower"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Uuid     uuid.UUID
	Hostname string
	Data     string
}

func NewNode

func NewNode(hostname string) *Node

func (Node) String

func (node Node) String() string

type Update

type Update struct {
	Leader Node
	Mode   string
}

Jump to

Keyboard shortcuts

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