mirror of
https://github.com/paralus/paralus.git
synced 2026-05-13 11:56:39 +00:00
refactor: remove unused func/var/methods (#315)
Signed-off-by: Dhruv Jain <92215138+jaydee029@users.noreply.github.com>
This commit is contained in:
@@ -21,11 +21,10 @@ var (
|
||||
|
||||
// uniqueQueue is the containing type for set-style / unique queues
|
||||
type uniqueQueue struct {
|
||||
in <-chan Resource
|
||||
out chan<- Resource
|
||||
inBuffer map[Resource]struct{}
|
||||
exists sync.Map
|
||||
buffer chan Resource
|
||||
in <-chan Resource
|
||||
out chan<- Resource
|
||||
exists sync.Map
|
||||
buffer chan Resource
|
||||
}
|
||||
|
||||
// NewUniqueQueue returns a queue for events which ensures that events in the queue are unique
|
||||
|
||||
Reference in New Issue
Block a user