func (c CircuitState) String() string {
	if c == OpenState {
		return "OPEN"
	} else if c == ClosedState {
		return "CLOSED"
	} else {
		return fmt.Sprintf("Unknown (%d)", c.toUint32())
	}
}
String is the fmt.Stringer interface implementation.
package sshd
import (
	"fmt"
	"sync/atomic"
)
type CircuitState uint32
const (
	OpenState CircuitState = 0
	ClosedState CircuitState = 1
)