updated sample for FilterMonitorFunc

added pattern to sample
This commit is contained in:
Gerson Alexander Pardo Gamez 2017-07-12 09:51:37 -05:00 committed by GitHub
parent 7f2e3feb3c
commit c903de41e4
1 changed files with 1 additions and 1 deletions

View File

@ -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
// }