mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 16:15:56 +00:00
This commit updates the import path from: ``` pilosa/* ``` to: ``` github.com/umbel/pilosa/* ``` This follows standard Go convention and makes the project "go gettable". The README was also updated to reflect the changes.
28 lines
402 B
Go
28 lines
402 B
Go
package interfaces
|
|
|
|
import (
|
|
"github.com/umbel/pilosa/db"
|
|
"github.com/umbel/pilosa/util"
|
|
)
|
|
|
|
type Transporter interface {
|
|
Run()
|
|
Close()
|
|
Send(*db.Message, *util.GUID)
|
|
Receive() *db.Message
|
|
Push(*db.Message)
|
|
}
|
|
|
|
type Dispatcher interface {
|
|
Init() error
|
|
Close()
|
|
Run()
|
|
}
|
|
|
|
type Executorer interface {
|
|
Init() error
|
|
Close()
|
|
Run()
|
|
NewJob(*db.Message)
|
|
RunPQL(string, string) (interface{}, error)
|
|
}
|