Documentation ¶
Index ¶
- Variables
- func StartHTTP(store *SQLite3Store, port int) error
- type SQLite3Store
- func (s *SQLite3Store) Close() 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) 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.