SetInternalAPISecret wires in the shared HMAC secret used to authenticate the /api/internal/limits/invalidate endpoint. When empty (default), that endpoint returns 503 — self-host operators who don't run a billing provisioner never need to configure it.
(s string)
| 501 | // empty (default), that endpoint returns 503 — self-host operators |
| 502 | // who don't run a billing provisioner never need to configure it. |
| 503 | func (a *API) SetInternalAPISecret(s string) { a.internalAPISecret = s } |
| 504 | |
| 505 | // SetBillingHookURL wires in the URL of an external billing service's |
| 506 | // user-event endpoint. When the user deletes their account, the API |
no outgoing calls