KiteEvent is the struct that is sent as an argument in watchCallback of getKites method of Kontrol.
| 174 | // KiteEvent is the struct that is sent as an argument in watchCallback of |
| 175 | // getKites method of Kontrol. |
| 176 | type KiteEvent struct { |
| 177 | Action KiteAction `json:"action"` |
| 178 | Kite Kite `json:"kite"` |
| 179 | |
| 180 | // Required to connect when Action == Register |
| 181 | URL string `json:"url,omitempty"` |
| 182 | Token string `json:"token,omitempty"` |
| 183 | } |
| 184 | |
| 185 | type KiteAction string |
| 186 |
nothing calls this directly
no outgoing calls
no test coverage detected