protocolpb

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protocol_protocol_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type P2PEnvelope

type P2PEnvelope struct {

	// serialized protobuf for the actual message
	Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*P2PEnvelope) Descriptor deprecated

func (*P2PEnvelope) Descriptor() ([]byte, []int)

Deprecated: Use P2PEnvelope.ProtoReflect.Descriptor instead.

func (*P2PEnvelope) GetBody

func (x *P2PEnvelope) GetBody() []byte

func (*P2PEnvelope) ProtoMessage

func (*P2PEnvelope) ProtoMessage()

func (*P2PEnvelope) ProtoReflect added in v1.0.0

func (x *P2PEnvelope) ProtoReflect() protoreflect.Message

func (*P2PEnvelope) Reset

func (x *P2PEnvelope) Reset()

func (*P2PEnvelope) String

func (x *P2PEnvelope) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL