MCPcopy Index your code
hub / github.com/cosmos/cosmos-proto

github.com/cosmos/cosmos-proto @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,364 symbols 3,090 edges 80 files 291 documented · 21% 2 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Pulsar

Installing

go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar

Running

cd path/to/proto/files

protoc --go-pulsar_out=. --go-pulsar_opt=paths=source_relative --go-pulsar_opt=features=protoc+fast -I . NAME_OF_FILE.proto

Acknowledgements

Code for the generator structure/features and the functions marshal, unmarshal, and size implemented by planetscale/vtprotobuf was used in our ProtoMethods implementation.

Code used to produce default code stubs found in protobuf was copied into features/protoc.

Extension points exported contracts — how you extend this code

FeatureGenerator (Interface)
(no doc) [2 implementers]
generator/features.go
FieldMapper (FuncType)
FieldMapper is a function that can be used to override the default behavior of the generator for a specific field. The f
rapidproto/rapidproto.go
Feature (FuncType)
(no doc)
generator/features.go

Core symbols most depended-on inside this repo

Ident
called by 415
features/protoc/main.go
ProtoReflect
called by 154
testpb/1.pulsar.go
Sov
called by 119
runtime/runtime.go
EncodeVarint
called by 109
runtime/runtime.go
Descriptor
called by 67
testpb/1.pulsar.go
Set
called by 65
testpb/1.pulsar.go
Get
called by 57
testpb/1.pulsar.go
encodeKey
called by 52
features/fastreflection/proto_marshal.go

Shape

Method 982
Function 230
Struct 122
TypeAlias 23
Interface 5
FuncType 2

Languages

Go100%

Modules by API surface

internal/testprotos/test3/test.pulsar.go554 symbols
testpb/1.pulsar.go127 symbols
internal/testprotos/test3/test_nesting.pulsar.go127 symbols
testpb/3.pulsar.go61 symbols
features/protoc/main.go59 symbols
internal/testprotos/test3/test_import.pulsar.go39 symbols
testpb/2.pulsar.go32 symbols
cosmos.pb.go28 symbols
testpb/proto_message_bench_test.go26 symbols
features/fastreflection/proto_message.go23 symbols
testpb/map_bench_test.go18 symbols
features/fastreflection/list.go18 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add cosmos-proto \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact