forked from p93542168/wheat-cache
feat(event): feat the get the io length
This commit is contained in:
parent
929f931cd6
commit
c45c2682e0
|
@ -18,6 +18,7 @@ type EventWorkFunc func() (interface{}, error)
|
||||||
type DriverInterface interface {
|
type DriverInterface interface {
|
||||||
Get() *Event
|
Get() *Event
|
||||||
Put(event *Event)
|
Put(event *Event)
|
||||||
|
GetLength() int
|
||||||
}
|
}
|
||||||
|
|
||||||
type ProduceInterface interface {
|
type ProduceInterface interface {
|
||||||
|
|
Loading…
Reference in New Issue