common

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EtcdBasePath  = "/stolon/cluster"
	EtcdLeaderKey = "leader"

	SentinelLeaseName = "sentinel-leader"

	DefaultEtcdRequestTimeout = 5 * time.Second

	DefaultEtcdEndpoints = "http://127.0.0.1:4001,http://127.0.0.1:2379"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Role

type Role uint8
const (
	MasterRole Role = iota
	StandbyRole
)

func (Role) String

func (r Role) String() string

Jump to

Keyboard shortcuts

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