leveldb

package
v0.0.0-...-0703dd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2013 License: GPL-3.0, AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

   conflux - Distributed database synchronization library
	Based on the algorithm described in
		"Set Reconciliation with Nearly Optimal	Communication Complexity",
			Yaron Minsky, Ari Trachtenberg, and Richard Zippel, 2004.

   Copyright (C) 2012  Casey Marshall <casey.marshall@gmail.com>

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU Affero General Public License as published by
   the Free Software Foundation, version 3.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Affero General Public License for more details.

   You should have received a copy of the GNU Affero General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

View Source
var ErrKeyNotFound error = errors.New("Key not found")

Functions

func NewPeer

func NewPeer(settings *DbSettings) (p *recon.Peer, err error)

Types

type DbSettings

type DbSettings struct {
	*recon.Settings
}

func DefaultSettings

func DefaultSettings() *DbSettings

func LoadSettings

func LoadSettings(path string) (*DbSettings, error)

func NewSettings

func NewSettings(tree *toml.TomlTree) *DbSettings

func (*DbSettings) DbPath

func (s *DbSettings) DbPath() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL