Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClockUpdateArgs ¶
type ClockUpdateArgs struct { Clientid uint8 // client id issueing this put Clock uint64 // value of lamport clock at the issuing client }
args in clockupdate(args)
type DisconnectArgs ¶
type DisconnectArgs struct {
Clientid uint8 // client id issueing this put
}
args in disconnect(args)
type GetArgs ¶
type GetArgs struct { Key string // key to look up Clientid uint8 // client id issuing this get Clock uint64 // value of lamport clock at the issuing client }
args in get(args)
type KVService ¶
type KVService struct { Clientid uint8 ClockUpdateRate uint8 Clock uint64 Replicas []*rpc.Client Mux sync.Mutex }
func (*KVService) Disconnect ¶
Click to show internal directories.
Click to hide internal directories.