fsm

package
v0.0.0-...-5aa5535 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMarhsallRecord    = errors.New("could not marshal record")
	ErrTransactionCommit = errors.New("could not commit transaction")
)

Functions

func NewStore

func NewStore(s store.Store, path string) raft.FSM

func Write

func Write(w io.Writer, msg []byte) error

Types

type ApplyResponse

type ApplyResponse struct {
	Error error
	Data  interface{}
}

Jump to

Keyboard shortcuts

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