metadata

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlevePersistedState

type BlevePersistedState struct {
	PersistedClusterStateService *persist.ClusterStateService
	CurrentTerm                  int64
	LastAcceptedState            *state.ClusterState
}

func (*BlevePersistedState) GetLastAcceptedState

func (s *BlevePersistedState) GetLastAcceptedState() *state.ClusterState

func (*BlevePersistedState) SetLastAcceptedState

func (s *BlevePersistedState) SetLastAcceptedState(state *state.ClusterState)

type GatewayMetaState

type GatewayMetaState struct {
	PersistedState state.PersistedState
}

func NewGatewayMetaState

func NewGatewayMetaState() *GatewayMetaState

func (*GatewayMetaState) Start

func (m *GatewayMetaState) Start(
	transportService *transport.Service,
	clusterService *cluster.Service,
	persistedClusterStateService *persist.ClusterStateService)

Jump to

Keyboard shortcuts

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