Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithSpatioTemporalFilter ¶
func WithSpatioTemporalFilter(f *dedup.SpatioTemporalFilter, fn HandlerFunc) http.HandlerFunc
WithSpatioTemporalFilter wraps handler function into http.HandlerFunc and injects dedup.Filter.
Types ¶
type HandlerFunc ¶
type HandlerFunc func(*dedup.SpatioTemporalFilter, http.ResponseWriter, *http.Request) error
HandlerFunc is a wrapped handler functions.
Click to show internal directories.
Click to hide internal directories.