Documentation ¶
Index ¶
- Variables
- func StartHTTP(store *SQLite3Store, port int) error
- type Item
- type SQLite3Store
- func (s *SQLite3Store) Close() error
- func (s *SQLite3Store) ListItemsForNode(ctx context.Context, nodeId string) ([]*Item, error)
- func (s *SQLite3Store) ReadNodePublicKey(ctx context.Context, nodeId string) (*crypto.Key, error)
- func (s *SQLite3Store) WriteItemIfNotExist(ctx context.Context, id, nodeId, data string) error
- func (s *SQLite3Store) WriteNodePublicKey(ctx context.Context, nodeId, publicKey string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var SCHEMA string
Functions ¶
func StartHTTP ¶
func StartHTTP(store *SQLite3Store, port int) error
Types ¶
type SQLite3Store ¶
type SQLite3Store struct {
// contains filtered or unexported fields
}
func OpenSQLite3Store ¶
func OpenSQLite3Store(path string) (*SQLite3Store, error)
func (*SQLite3Store) Close ¶
func (s *SQLite3Store) Close() error
func (*SQLite3Store) ListItemsForNode ¶ added in v0.13.1
func (*SQLite3Store) ReadNodePublicKey ¶ added in v0.9.5
func (*SQLite3Store) WriteItemIfNotExist ¶
func (s *SQLite3Store) WriteItemIfNotExist(ctx context.Context, id, nodeId, data string) error
func (*SQLite3Store) WriteNodePublicKey ¶ added in v0.9.5
func (s *SQLite3Store) WriteNodePublicKey(ctx context.Context, nodeId, publicKey string) error
Click to show internal directories.
Click to hide internal directories.