Add /api/v3/events endpoint

This commit is contained in:
Ingo Oppermann
2023-03-23 11:11:47 +01:00
parent 2330270af2
commit b84fdddd81
12 changed files with 619 additions and 33 deletions

View File

@@ -114,4 +114,9 @@ func (w *fakeWriter) Write(body []byte) (int, error) {
return n, err
}
func (w *fakeWriter) Flush() {}
func (w *fakeWriter) Flush() {
flusher, ok := w.ResponseWriter.(http.Flusher)
if ok {
flusher.Flush()
}
}