fsm

package
v0.0.0-...-328cc57 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewseshatFSM

func NewseshatFSM(path string) (*seshatFSM, error)

Types

type ApplyResponse

type ApplyResponse struct {
	Error error
	Data  interface{}
}

ApplyResponse response from Apply raft

type CommandPayload

type CommandPayload struct {
	Operation string
	Key       []byte
	Value     []byte
}

CommandPayload is payload sent by system when calling raft.Apply(cmd []byte, timeout time.Duration)

Jump to

Keyboard shortcuts

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