dao_cluster

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllElections

func AllElections() (res []map[string]interface{}, err error)

AllElections returns all nodes in the election

func ElectionPrefix

func ElectionPrefix() string

ElectionPrefix returns etcd prefix

func LeaderNode

func LeaderNode() (nodeName string, err error)

LeaderNode return current name of current leader node

Types

This section is empty.

Jump to

Keyboard shortcuts

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