mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 08:10:50 +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.
25 lines
305 B
Go
25 lines
305 B
Go
package db
|
|
|
|
import (
|
|
"encoding/gob"
|
|
|
|
. "github.com/umbel/pilosa/util"
|
|
)
|
|
|
|
type Message struct {
|
|
Data interface{} `json:data`
|
|
}
|
|
|
|
type Envelope struct {
|
|
Message *Message
|
|
Host *GUID
|
|
}
|
|
|
|
type HoldResult interface {
|
|
ResultId() *GUID
|
|
ResultData() interface{}
|
|
}
|
|
|
|
func init() {
|
|
gob.Register(Message{})
|
|
}
|