spacepanel_aggregator/types.go

16 lines
237 B
Go
Raw Normal View History

2020-01-30 17:34:56 +00:00
package spacepanel_aggregator
type State int
const (
2020-01-30 23:24:19 +00:00
Open = State(iota)
2020-01-30 17:34:56 +00:00
Close
Outdated
Unknown
)
var colors = [4]string{"#00ff00", "#ff0000", "#0000ff", "#000000"}
2020-01-30 23:24:19 +00:00
//var colors = make(map[State]string)
//colors[Open] = "#00ff00"