func NewCircuit() *Circuit {
	return &Circuit{bit: OpenState.toUint32()}
}
NewCircuit creates a new circuit, in the open (non-functional) state.
package sshd
import (
	"fmt"
	"sync/atomic"
)
type CircuitState uint32
const (
	OpenState CircuitState = 0
	ClosedState CircuitState = 1
)
func (c CircuitState) String() string {
	if c == OpenState {
		return "OPEN"
	} else if c == ClosedState {
		return "CLOSED"
	} else {
		return fmt.Sprintf("Unknown (%d)", c.toUint32())
	}
}
func (c CircuitState) toUint32() uint32 {
	return uint32(c)
}
type Circuit struct {
	bit uint32
}