Toast
Stacked notifications: client (data-cui-toast) or server (X-Gofastr-Toast header).
Live
Example
// Client: any element carries data-cui-toast="<json>".
<button data-cui-toast='{"variant":"success","title":"Saved"}'>Save</button>
// Server: any data-cui-rpc handler attaches the header on 2xx.
func push(w http.ResponseWriter, r *http.Request) { ui.AddToastSuccess(w, "Saved", "", 5000) }