Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultColorPalette = color.Palette{ color.RGBA{0xFF, 0xFF, 0xFF, 0xFF}, color.RGBA{0xE4, 0xE4, 0xE4, 0xFF}, color.RGBA{0x88, 0x88, 0x88, 0xFF}, color.RGBA{0x22, 0x22, 0x22, 0xFF}, color.RGBA{0xFF, 0xA7, 0xD1, 0xFF}, color.RGBA{0xE5, 0x00, 0x00, 0xFF}, color.RGBA{0xE5, 0x95, 0x00, 0xFF}, color.RGBA{0xA0, 0x6A, 0x42, 0xFF}, color.RGBA{0xE5, 0xD9, 0x00, 0xFF}, color.RGBA{0x94, 0xE0, 0x44, 0xFF}, color.RGBA{0x02, 0xBE, 0x01, 0xFF}, color.RGBA{0x00, 0xD3, 0xDD, 0xFF}, color.RGBA{0x00, 0x83, 0xC7, 0xFF}, color.RGBA{0x00, 0x00, 0xEA, 0xFF}, color.RGBA{0xCF, 0x6E, 0xE4, 0xFF}, color.RGBA{0x82, 0x00, 0x80, 0xFF}, }
Functions ¶
func ReadChanges ¶
func ReadChanges(c *websocket.Conn) <-chan TileUpdate
Types ¶
type Event ¶
type Event struct { Type string `json:"type"` Payload json.RawMessage `json:"payload"` }
type TileUpdate ¶
Click to show internal directories.
Click to hide internal directories.