Add sponsorship links

This commit is contained in:
Ben Sarmiento
2023-12-02 20:05:15 +01:00
parent 9985bb7f0a
commit 2e9adb6096

View File

@@ -195,7 +195,7 @@ type RootResponse struct {
Sys uint64 `json:"sys"` // System memory in MB
NumGC uint32 `json:"num_gc"` // Number of completed GC cycles
PID int `json:"pid"` // Process ID
Sponsor SponsorResponse `json:"sponsor_this_project"` // Process ID
Sponsor SponsorResponse `json:"sponsor_zurg"` // Sponsorship links
}
func (zr *ZurgRouter) rootHandler(resp http.ResponseWriter, req *http.Request, params httprouter.Params) {