mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-03-14 11:10:05 +08:00
instead of returning an error if we don't have a registered Record for a given PayloadType, we can have a catch-all DefaultRecord type that just preserves the original payload as a []byte |
||
---|---|---|
.. | ||
pb | ||
envelope_test.go | ||
envelope.go | ||
record_test.go | ||
record.go |