Skip to content

Status

Status

Category Endpoint Status
Get Raft Leader /status/leader
List Raft Peers /status/peers

Usage

from discovery import Consul


consul = Consul()

# leader
await consul.status.leader()

# peers
await consul.status.peers()