state

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package state provides a factory function that creates a specific state synchronization binding from a given consensus protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(protocol string) (*api.Api, error)

New creates and initializes a new specific state synchronization binding as configured by the given consensus protocol.

Returns the new state synchronization binding as a *Api interface. An error is returned if the given consensus protool is not supported.

Types

This section is empty.

Directories

Path Synopsis
Package api provides the distributed state synchronization API.
Package api provides the distributed state synchronization API.
Package raft exports [MessagePack] codec functionality to serialize log entries, LogStore items, and FSM snaphosts.
Package raft exports [MessagePack] codec functionality to serialize log entries, LogStore items, and FSM snaphosts.

Jump to

Keyboard shortcuts

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