package main type submit struct { data string } type status struct { state bool lastchange int64 power int64 }