23 lines
361 B
Go
23 lines
361 B
Go
package data
|
|
|
|
func NewDataNode() *Node {
|
|
return &Node{}
|
|
}
|
|
|
|
type Node struct {
|
|
//ms meta.Store
|
|
}
|
|
|
|
func (n *Node) Open() error {
|
|
// Open shards
|
|
// Start AE for Node
|
|
return nil
|
|
}
|
|
|
|
func (n *Node) Close() error { return nil }
|
|
func (n *Node) Init() error { return nil }
|
|
|
|
func (n *Node) WriteShard(shardID uint64, points []Point) (int, error) {
|
|
return 0, nil
|
|
}
|