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)
Click to show internal directories.
Click to hide internal directories.