ExchangeResponse is the response from POST /api/auth/exchange.
| 188 | |
| 189 | // ExchangeResponse is the response from POST /api/auth/exchange. |
| 190 | type ExchangeResponse struct { |
| 191 | Status *string `json:"status,omitempty"` |
| 192 | CliID *string `json:"cli_id,omitempty"` |
| 193 | APIKey *string `json:"api_key,omitempty"` |
| 194 | } |
| 195 | |
| 196 | func (e *ExchangeResponse) UnmarshalJSON(data []byte) error { |
| 197 | var raw struct { |
nothing calls this directly
no outgoing calls
no test coverage detected