Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Motion ¶
Motion accepts a pin to read on and a stream to write on. Streams the int64 unix time of a motion event. Close the stream to stop reading
func ReadMotion ¶
ReadMotion will check if the pin has recently seen motion.
Types ¶
Click to show internal directories.
Click to hide internal directories.