Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct {
ID string `json:"id"`
ReceivedAt string `json:"received_at"`
// map) without IT involvement. Optional in the response — older servers
// omit it; treat an empty value as "no link to show". The URL is opaque;
// it is rendered as-is, never parsed or validated client-side.
ShareURL string `json:"share_url"`
}
func Upload ¶
Upload POSTs the report with exponential backoff retries on transient failure. The server may return 201 for a fresh report or 200 for a duplicate run_id (per PRD §7.3 idempotency); both are treated as success and the caller receives the server-side record either way.
Retries fire on 5xx status and transport errors only. 4xx is terminal — retrying a malformed / unauthorised request won't help.
Click to show internal directories.
Click to hide internal directories.