From c903de41e404aad3ee5501d2af0c4ce36a0bcee9 Mon Sep 17 00:00:00 2001 From: Gerson Alexander Pardo Gamez Date: Wed, 12 Jul 2017 09:51:37 -0500 Subject: [PATCH] updated sample for FilterMonitorFunc added pattern to sample --- admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin.go b/admin.go index e6f9c3f9..0688dcbc 100644 --- a/admin.go +++ b/admin.go @@ -37,7 +37,7 @@ var beeAdminApp *adminApp // FilterMonitorFunc is default monitor filter when admin module is enable. // if this func returns, admin module records qbs for this request by condition of this function logic. // usage: -// func MyFilterMonitor(method, requestPath string, t time.Duration, statusCode int) bool { +// func MyFilterMonitor(method, requestPath string, t time.Duration, pattern string, statusCode int) bool { // if method == "POST" { // return false // }