MCPcopy Create free account
hub / github.com/encodeous/nylon / deviceState

TypeAlias deviceState

polyamide/device/device.go:105–105  ·  view source on GitHub ↗

deviceState represents the state of a Device. There are three states: down, up, closed. Transitions: down -----+ ↑↓ ↓ up -> closed

Source from the content-addressed store, hash-verified

103// ↑↓ ↓
104// up -> closed
105type deviceState uint32
106
107//go:generate go run golang.org/x/tools/cmd/stringer -type deviceState -trimprefix=deviceState
108const (

Callers 2

deviceStateMethod · 0.85
StringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected