Documentation ¶
Index ¶
- func GetBlankStatus(address string, pooled bool) (status.Blanked, *nerr.E)
- func GetHardwareInfo(address string, pooled bool) (structs.HardwareInfo, *nerr.E)
- func GetInputStatus(address string, pooled bool) (status.Input, *nerr.E)
- func GetPower(address string, pooled bool) (status.Power, *nerr.E)
- func HasActiveSignal(address string, port string, pooled bool) (structs.ActiveSignal, *nerr.E)
- func PowerOn(address string, pooled bool) *nerr.E
- func PowerStandby(address string, pooled bool) *nerr.E
- func QueryStateWithConn(command, address string, conn *net.TCPConn) ([]byte, *nerr.E)
- func SendCommandWithConn(command, address string, conn *net.TCPConn) *nerr.E
- func SetBlank(address string, blank, pooled bool) *nerr.E
- func SetInput(address, port string, pooled bool) *nerr.E
- func StartMinder(conn *Connection)
- type Connection
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHardwareInfo ¶
GetHardwareInfo gets the necessary hardware information from this device and returns it.
func HasActiveSignal ¶
HasActiveSignal checks to see if the projector has an active signal on the given port currently.
func QueryStateWithConn ¶
func SendCommandWithConn ¶
func StartMinder ¶
func StartMinder(conn *Connection)
Types ¶
type Connection ¶
type Connection struct { Conn *net.TCPConn Address string InChannel chan Request SeppukuChannel chan bool LastCommunication time.Time }
func StartConnection ¶
func StartConnection(address string) (*Connection, *nerr.E)
Click to show internal directories.
Click to hide internal directories.