MCPcopy Index your code
hub / github.com/berty/weshnet

github.com/berty/weshnet @v2.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.3.0 ↗ · + Follow
3,531 symbols 9,186 edges 267 files 696 documented · 20% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Wesh Network Toolkit

go.dev reference

The Wesh network toolkit lets your application use the Wesh protocol to support privacy-based, off-grid, peer-to-peer communication. Wesh powers Berty Messenger, and now you can use the Wesh network toolkit directly.

Your application interfaces to Wesh based on gRPC. So even though the core Wesh code is written in Go, Wesh works with your application written in Go, Python or other languages supported by gRPC.

For details, see the Wesh website at https://wesh.network . The website includes blog tutorials which introduce you to Wesh and walk you through some example applications and background of the Wesh protocol.

Usage

import "berty.tech/weshnet"

Online API documentation is at https://buf.build/berty-technologies/weshnet .

Get the code

To get the code and build, see the file INSTALL.md.

Feedback

For bug reports, feature requests or questions, please open a GitHub issue.

Extension points exported contracts — how you extend this code

Service (Interface)
Service is the main Berty Protocol interface [2 implementers]
service.go
MemberDevice (Interface)
MemberDevice is the public keys of a device and its member [2 implementers]
pkg/secretstore/secret_store_interfaces.go
IDriver (Interface)
(no doc) [4 implementers]
pkg/tinder/driver.go
ProximityDriver (Interface)
(no doc) [3 implementers]
pkg/proximitytransport/proximitydriver.go
WithCode (Interface)
WithCode defines an error that can be used by helpers of this package. [1 implementers]
pkg/errcode/error.go
Writer (Interface)
(no doc) [3 implementers]
pkg/protoio/io.go
CoreAPIMock (Interface)
CoreAPIMock implements ipfs.CoreAPI and adds some debugging helpers [1 implementers]
pkg/ipfsutil/testing.go
ConnectTestingProtocolFunc (FuncType)
Connect Peers Helper
testing.go

Core symbols most depended-on inside this repo

Wrap
called by 627
pkg/errcode/error.go
Error
called by 253
pkg/errcode/error.go
MetadataStore
called by 97
group_context.go
Close
called by 90
service.go
Done
called by 89
pkg/lifecycle/task.go
PrivateString
called by 71
pkg/logutil/private_field.go
Close
called by 69
pkg/ipfsutil/testing.go
Device
called by 56
pkg/secretstore/secret_store_interfaces.go

Shape

Method 2,382
Function 692
Struct 360
Interface 43
TypeAlias 38
FuncType 12
Enum 4

Languages

Go100%
C++1%

Modules by API surface

pkg/protocoltypes/protocoltypes.pb.go1,416 symbols
pkg/protocoltypes/protocoltypes_grpc.pb.go211 symbols
pkg/replicationtypes/bertyreplication.pb.go92 symbols
pkg/protocoltypes/protocoltypes.pb.gw.go77 symbols
store_metadata.go63 symbols
pkg/verifiablecredstypes/bertyverifiablecreds.pb.go49 symbols
store_metadata_index.go44 symbols
internal/handshake/handshake.pb.go40 symbols
pkg/secretstore/secret_store_messages.go35 symbols
pkg/errcode/error.go34 symbols
pkg/secretstore/secret_store_interfaces.go28 symbols
pkg/replicationtypes/bertyreplication_grpc.pb.go26 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

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

⬇ download graph artifact