package main import ( "encoding/json" "net/http" "time" plugin "aroz.org/zoraxy/event-subscriber-example/mod/zoraxy_plugin" ) func RenderUI(config *plugin.ConfigureSpec, w http.ResponseWriter, r *http.Request) { // Render the UI for the plugin var eventLogHTML string if len(EventLog) == 0 { eventLogHTML = "
No events received yet
Try toggling a blacklist or something like that
" + string(rawEventData) + "" eventLogHTML += "