AuthHeader returns the Bearer header a cloud-routed request needs.
(token string)
| 111 | |
| 112 | // AuthHeader returns the Bearer header a cloud-routed request needs. |
| 113 | func AuthHeader(token string) string { return "Bearer " + token } |
| 114 | |
| 115 | // ContextWindowFromHeaders reads X-Context-Window. Returns 0 when missing, |
| 116 | // malformed, or out of sane range; the caller reads 0 as "use the fallback". |
no outgoing calls