Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jille/raft-grpc-example
/ functions
Functions
52 in github.com/Jille/raft-grpc-example
⨍
Functions
52
◇
Types & classes
12
↓ 4 callers
Function
file_service_proto_rawDescGZIP
()
proto/service.pb.go:253
↓ 3 callers
Method
AddWord
(ctx context.Context, in *AddWordRequest, opts ...grpc.CallOption)
proto/service.pb.go:366
↓ 3 callers
Method
GetWords
(ctx context.Context, in *GetWordsRequest, opts ...grpc.CallOption)
proto/service.pb.go:367
↓ 3 callers
Method
String
()
proto/service.pb.go:49
↓ 2 callers
Function
cloneWords
(words [3]string)
application.go:33
↓ 1 callers
Method
Apply
(l *raft.Log)
application.go:39
↓ 1 callers
Method
GetWord
()
proto/service.pb.go:72
↓ 1 callers
Function
NewRaft
(ctx context.Context, myID, myAddress string, fsm raft.FSM)
main.go:67
↓ 1 callers
Function
compareWords
compareWords returns true if a is longer (lexicography breaking ties).
application.go:26
↓ 1 callers
Function
file_service_proto_init
()
proto/service.pb.go:280
↓ 1 callers
Function
generateWords
()
cmd/hammer/hammer.go:60
Method
AddWord
(ctx context.Context, req *pb.AddWordRequest)
application.go:89
Method
AddWord
(ctx context.Context, in *AddWordRequest, opts ...grpc.CallOption)
proto/service.pb.go:378
Method
AddWord
(context.Context, *AddWordRequest)
proto/service.pb.go:398
Method
AddWord
(context.Context, *AddWordRequest)
proto/service.pb.go:406
Method
Descriptor
Deprecated: Use AddWordRequest.ProtoReflect.Descriptor instead.
proto/service.pb.go:68
Method
Descriptor
Deprecated: Use AddWordResponse.ProtoReflect.Descriptor instead.
proto/service.pb.go:115
Method
Descriptor
Deprecated: Use GetWordsRequest.ProtoReflect.Descriptor instead.
proto/service.pb.go:160
Method
Descriptor
Deprecated: Use GetWordsResponse.ProtoReflect.Descriptor instead.
proto/service.pb.go:201
Method
GetBestWords
()
proto/service.pb.go:212
Method
GetCommitIndex
()
proto/service.pb.go:119
Method
GetReadAtIndex
()
proto/service.pb.go:205
Method
GetWords
(ctx context.Context, req *pb.GetWordsRequest)
application.go:99
Method
GetWords
(ctx context.Context, in *GetWordsRequest, opts ...grpc.CallOption)
proto/service.pb.go:387
Method
GetWords
(context.Context, *GetWordsRequest)
proto/service.pb.go:399
Method
GetWords
(context.Context, *GetWordsRequest)
proto/service.pb.go:409
Function
NewExampleClient
(cc grpc.ClientConnInterface)
proto/service.pb.go:374
Method
Persist
(sink raft.SnapshotSink)
application.go:72
Method
ProtoMessage
()
proto/service.pb.go:53
Method
ProtoMessage
()
proto/service.pb.go:100
Method
ProtoMessage
()
proto/service.pb.go:145
Method
ProtoMessage
()
proto/service.pb.go:186
Method
ProtoReflect
()
proto/service.pb.go:55
Method
ProtoReflect
()
proto/service.pb.go:102
Method
ProtoReflect
()
proto/service.pb.go:147
Method
ProtoReflect
()
proto/service.pb.go:188
Function
RegisterExampleServer
(s *grpc.Server, srv ExampleServer)
proto/service.pb.go:413
Method
Release
()
application.go:81
Method
Reset
()
proto/service.pb.go:40
Method
Reset
()
proto/service.pb.go:87
Method
Reset
()
proto/service.pb.go:132
Method
Reset
()
proto/service.pb.go:173
Method
Restore
(r io.ReadCloser)
application.go:58
Method
Snapshot
()
application.go:53
Method
String
()
proto/service.pb.go:96
Method
String
()
proto/service.pb.go:141
Method
String
()
proto/service.pb.go:182
Function
_Example_AddWord_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
proto/service.pb.go:417
Function
_Example_GetWords_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
proto/service.pb.go:435
Function
init
()
proto/service.pb.go:279
Function
main
()
main.go:30
Function
main
()
cmd/hammer/hammer.go:21