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 ¶
Types ¶
type DbSettings ¶
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
Click to show internal directories.
Click to hide internal directories.