improved docs
parent
47bcf79c3a
commit
f747012ad3
|
@ -17,7 +17,7 @@ func NewFilteredRouter(subrouter Router, filterFn func(string, map[string]interf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// FilteredRouter is a Router that conditionally routes or discards a message (and its context).
|
// FilteredRouter is a Router that conditionally re-routes or discards a message (and its context).
|
||||||
type FilteredRouter struct {
|
type FilteredRouter struct {
|
||||||
subrouter Router
|
subrouter Router
|
||||||
filterFn func(string, map[string]interface{})bool
|
filterFn func(string, map[string]interface{})bool
|
||||||
|
|
Loading…
Reference in New Issue