Added rule handles to dynamic proxy core

This commit is contained in:
Toby Chui
2023-04-15 23:29:47 +08:00
parent 3902a0283b
commit 44c1e60fb8
8 changed files with 437 additions and 69 deletions

View File

@@ -15,15 +15,6 @@ import (
*/
func (c *Collector) HandleTodayStatLoad(w http.ResponseWriter, r *http.Request) {
type DailySummaryExport struct {
TotalRequest int64 //Total request of the day
ErrorRequest int64 //Invalid request of the day, including error or not found
ValidRequest int64 //Valid request of the day
ForwardTypes map[string]int
RequestOrigin map[string]int
RequestClientIp map[string]int
}
fast, err := utils.GetPara(r, "fast")
if err != nil {