diff --git a/network_filter.go b/network_filter.go index 549d526..cda622f 100644 --- a/network_filter.go +++ b/network_filter.go @@ -26,8 +26,8 @@ type FilterStatus string // FilterStatus types const ( - Continue FilterStatus = "Continue" - Stop FilterStatus = "Stop" + Continue FilterStatus = "Continue" // will continue other filters + Stop FilterStatus = "Stop" // will skip other filters ) // FilterManager is a groups of filters diff --git a/stream_filter.go b/stream_filter.go index 655d990..6254a8f 100644 --- a/stream_filter.go +++ b/stream_filter.go @@ -27,7 +27,7 @@ type StreamFilterStatus string const ( // Continue filter chain iteration. StreamFilterContinue StreamFilterStatus = "Continue" - // Do not iterate to next iterator. + // will skip other filters in the same phase (be careful) StreamFilterStop StreamFilterStatus = "Stop" // terminate request. StreamFiltertermination StreamFilterStatus = "termination"