mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-14 14:58:02 +00:00
26 lines
324 B
Go
26 lines
324 B
Go
package interfaces
|
|
|
|
import (
|
|
"pilosa/db"
|
|
"pilosa/query"
|
|
)
|
|
|
|
type Transporter interface {
|
|
Run()
|
|
Close()
|
|
Send(*db.Message)
|
|
Receive() *db.Message
|
|
}
|
|
|
|
type Dispatcher interface {
|
|
Init() error
|
|
Close()
|
|
Run()
|
|
}
|
|
|
|
type Executorer interface {
|
|
Init() error
|
|
Close()
|
|
Run()
|
|
NewJob(*query.QueryPlan, chan *query.QueryResults)
|
|
}
|