Versions in this module Expand all Collapse all v0 v0.0.2 Dec 15, 2025 v0.0.1 Nov 25, 2025 Changes in this version + type AccessFunc func(blobcache.PeerID) blobcache.Service + type Marshaller interface + Marshal func(out []byte) []byte + type Message = bcp.Message + type Node struct + func New(privateKey ed25519.PrivateKey, pc net.PacketConn) *Node + func (n *Node) Ask(ctx context.Context, remote blobcache.Endpoint, req Message, resp *Message) error + func (n *Node) LocalAddr() netip.AddrPort + func (n *Node) LocalEndpoint() blobcache.Endpoint + func (n *Node) LocalID() blobcache.PeerID + func (n *Node) Serve(ctx context.Context, srv Server) error + func (n *Node) Tell(ctx context.Context, remote blobcache.Endpoint, req bcp.Message) error + type Server struct + Access AccessFunc + Deliver func(ctx context.Context, from blobcache.Endpoint, ttm bcp.TopicTellMsg) error + type TopicMessage = blobcache.Message + type Unmarshaller interface + Unmarshal func(data []byte) error