RegisterResult is a response to Register request from Kite to Kontrol.
| 127 | |
| 128 | // RegisterResult is a response to Register request from Kite to Kontrol. |
| 129 | type RegisterResult struct { |
| 130 | URL string `json:"url"` |
| 131 | HeartbeatInterval int64 `json:"heartbeatInterval"` |
| 132 | Error string `json:"err,omitempty"` |
| 133 | |
| 134 | // PublicKey is only available if the public Key of the request is |
| 135 | // invalid. |
| 136 | PublicKey string `json:"publicKey,omitempty"` |
| 137 | |
| 138 | // KiteKey is non-empty when caller made a request using kitekey |
| 139 | // signed by a keypair that was recently deleted. |
| 140 | // |
| 141 | // In such case Kontrol is going to create new kite key by signing |
| 142 | // it with new keys. |
| 143 | KiteKey string `json:"kiteKey,omitempty"` |
| 144 | } |
| 145 | |
| 146 | type GetKitesArgs struct { |
| 147 | Query *KontrolQuery `json:"query"` |
nothing calls this directly
no outgoing calls
no test coverage detected