blob: 00a4cd69467bafb0cda495ebc54457d533a9c014 [file] [log] [blame]
Adam Sadovskyb85e3532015-04-08 20:38:27 -07001// Copyright 2015 The Vanadium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Adam Sadovsky3ab00362015-04-10 22:06:06 -07005// +build ignore
6
Adam Sadovskyb85e3532015-04-08 20:38:27 -07007package server
8
9import "v.io/syncbase/v23/services/syncbase"
10
11type table struct {
12 name string
13 d *database
14}
15
16var _ syncbase.TableServerMethods = (*table)(nil)
17
18// TODO(sadovsky): Implement Glob.
19
20////////////////////////////////////////
21// Internal helpers
22
23func (t *table) keyPart() string {
24 return joinKeyParts(t.d.keyPart(), t.name)
25}