package PinControlService type PinCommand string type PinState string type PinDirection string type PinPull string type PinCallback func(pinName string, state PinState) const ( On PinCommand = "ON" Off PinCommand = "OFF" Toggle PinCommand = "TOGGLE" StateOn PinState = "ON" StateOff PinState = "OFF" Input PinDirection = "Input" Output PinDirection = "Output" PullUp PinPull = "PullUp" PullDown PinPull = "PullDown" PullOff PinPull = "PullOff" )