diff options
-rw-r--r-- | boruta.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -119,7 +119,10 @@ type WorkerInfo struct { } // ListFilter is used to filter Requests in the Queue. -type ListFilter struct{} +type ListFilter interface { + // Match tells if request matches the filter. + Match(req *ReqInfo) bool +} // Requests defines an interaction of a user with Requests Queue. type Requests interface { |