MCPcopy Index your code
hub / github.com/Jille/raft-grpc-transport

github.com/Jille/raft-grpc-transport @v1.6.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.6.1 ↗ · + Follow
292 symbols 522 edges 10 files 54 documented · 18% 2 cross-repo links updated 1y agov1.6.1 · 2024-07-22★ 51

Browse by type

Functions 257 Types & classes 35
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

raft-grpc-transport

Godoc

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.

Usage

// ...
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

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 199
Function 58
Struct 26
Interface 7
FuncType 1
TypeAlias 1

Languages

Go100%

Modules by API surface

proto/transport.pb.go137 symbols
proto/transport_grpc.pb.go64 symbols
raftapi.go28 symbols
toproto.go14 symbols
fromproto.go14 symbols
completeness_test.go13 symbols
grpcapi.go11 symbols
transport.go6 symbols
pair_test.go3 symbols
options.go2 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add raft-grpc-transport \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page