package pb
Import Path
github.com/libp2p/go-libp2p/core/record/pb (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Involved Source Files
envelope.pb.go
Package-Level Type Names (only one)
Envelope encloses a signed payload produced by a peer, along with the public
key of the keypair it was signed with so that it can be statelessly validated
by the receiver.
The payload is prefixed with a byte string that determines the type, so it
can be deserialized deterministically. Often, this byte string is a
multicodec.
payload is the actual payload carried inside this envelope.
payload_type encodes the type of payload, so that it can be deserialized
deterministically.
public_key is the public key of the keypair the enclosed payload was
signed with.
signature is the signature produced by the private key corresponding to
the enclosed public key, over the payload, prefixing a domain string for
additional security.
Deprecated: Use Envelope.ProtoReflect.Descriptor instead.
(*Envelope) GetPayload() []byte
(*Envelope) GetPayloadType() []byte
(*Envelope) GetPublicKey() *pb.PublicKey
(*Envelope) GetSignature() []byte
(*Envelope) ProtoMessage()
(*Envelope) ProtoReflect() protoreflect.Message
(*Envelope) Reset()
(*Envelope) String() string
*Envelope : github.com/gogo/protobuf/proto.Message
*Envelope : expvar.Var
*Envelope : fmt.Stringer
*Envelope : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*Envelope : google.golang.org/protobuf/runtime/protoiface.MessageV1
Package-Level Variables (only one)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |