masterproto

package
v0.0.0-...-7c35310 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetLeaderArgs

type GetLeaderArgs struct {
}

type GetLeaderReply

type GetLeaderReply struct {
	LeaderId int
}

type GetReplicaListArgs

type GetReplicaListArgs struct {
}

type GetReplicaListReply

type GetReplicaListReply struct {
	ReplicaList []string
	Ready       bool
}

type GetTwoLeadersArgs

type GetTwoLeadersArgs struct {
}

Slowdown: Get two leaders reply

type GetTwoLeadersReply

type GetTwoLeadersReply struct {
	Leader1Id int
	Leader2Id int
}

type RegisterArgs

type RegisterArgs struct {
	Addr string
	Port int
}

type RegisterReply

type RegisterReply struct {
	ReplicaId int
	NodeList  []string
	Ready     bool
}

Jump to

Keyboard shortcuts

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