shared project
This commit is contained in:
parent
24aefd98aa
commit
515b618aba
7
queue.go
7
queue.go
|
@ -2,19 +2,18 @@ package queue
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"container/heap"
|
"container/heap"
|
||||||
"time"
|
|
||||||
"loafle.com/overflow/agent_api/observer"
|
|
||||||
"github.com/prometheus/common/log"
|
"github.com/prometheus/common/log"
|
||||||
|
"loafle.com/overflow/agent_api/observer"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
type EventType int
|
type EventType int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
||||||
DATA_TYPE EventType = 0
|
DATA_TYPE EventType = 0
|
||||||
EVENT_TYPE EventType = 1
|
EVENT_TYPE EventType = 1
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type item struct {
|
type item struct {
|
||||||
value interface{}
|
value interface{}
|
||||||
priority int
|
priority int
|
||||||
|
|
Loading…
Reference in New Issue
Block a user