Documentation ¶
Overview ¶
Package record_pb is a generated protocol buffer package.
It is generated from these files:
record.proto
It has these top-level messages:
Record
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct { // The key that references this record Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` // The actual value this record is storing Value []byte `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // hash of the authors public key Author *string `protobuf:"bytes,3,opt,name=author" json:"author,omitempty"` // A PKI signature for the key+value+author Signature []byte `protobuf:"bytes,4,opt,name=signature" json:"signature,omitempty"` // Time the record was received, set by receiver TimeReceived *string `protobuf:"bytes,5,opt,name=timeReceived" json:"timeReceived,omitempty"` XXX_unrecognized []byte `json:"-"` }
Record represents a dht record that contains a value for a key value pair
func (*Record) GetSignature ¶
func (*Record) GetTimeReceived ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.