mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
28 lines
367 B
Go
28 lines
367 B
Go
package interfaces
|
|
|
|
import (
|
|
"pilosa/db"
|
|
"pilosa/query"
|
|
|
|
"github.com/nu7hatch/gouuid"
|
|
)
|
|
|
|
type Transporter interface {
|
|
Run()
|
|
Close()
|
|
Send(*db.Message, *uuid.UUID)
|
|
Receive() *db.Message
|
|
}
|
|
|
|
type Dispatcher interface {
|
|
Init() error
|
|
Close()
|
|
Run()
|
|
}
|
|
|
|
type Executorer interface {
|
|
Init() error
|
|
Close()
|
|
Run()
|
|
NewJob(*query.QueryPlan, chan *query.QueryResults)
|
|
}
|