mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 16:15:56 +00:00
35 lines
445 B
Go
35 lines
445 B
Go
package db
|
|
|
|
import (
|
|
"encoding/gob"
|
|
|
|
"tux21b.org/v1/gocql/uuid"
|
|
)
|
|
|
|
type Message struct {
|
|
Data interface{} `json:data`
|
|
}
|
|
|
|
/*
|
|
import "pilosa/core"
|
|
|
|
type Message interface {
|
|
Handle(*core.Service)
|
|
}
|
|
|
|
|
|
type Message struct {
|
|
Key string `json:key`
|
|
Data interface{} `json:data`
|
|
Destination Location
|
|
}
|
|
*/
|
|
|
|
type HoldResult interface {
|
|
ResultId() *uuid.UUID
|
|
ResultData() interface{}
|
|
}
|
|
|
|
func init() {
|
|
gob.Register(Message{})
|
|
}
|