Commit 93872a52 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

net/interface: use iota

parent 6040a3ef
......@@ -90,15 +90,15 @@ type Connectedness int
const (
// NotConnected means no connection to peer, and no extra information (default)
NotConnected Connectedness = 0
NotConnected Connectedness = iota
// Connected means has an open, live connection to peer
Connected = 1
Connected
// CanConnect means recently connected to peer, terminated gracefully
CanConnect = 2
CanConnect
// CannotConnect means recently attempted connecting but failed to connect.
// (should signal "made effort, failed")
CannotConnect = 3
CannotConnect
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment