Browse by type
This library provides a Transport for https://github.com/hashicorp/raft over gRPC.
One benefit of this is that gRPC is easy to multiplex over a single port.
// ...
tm := transport.New(raft.ServerAddress(myAddress), []grpc.DialOption{grpc.WithInsecure()})
s := grpc.NewServer()
tm.Register(s)
r, err := raft.NewRaft(..., tm.Transport())
// ...
Want more example code? Check out main.go at https://github.com/Jille/raft-grpc-example
$ claude mcp add raft-grpc-transport \
-- python -m otcore.mcp_server <graph>