Documentation ¶
Index ¶
- Variables
- type Record
- func (*Record) Descriptor() ([]byte, []int)
- func (m *Record) GetKey() []byte
- func (m *Record) GetTimeReceived() string
- func (m *Record) GetValue() []byte
- func (m *Record) Marshal() (dAtA []byte, err error)
- func (m *Record) MarshalTo(dAtA []byte) (int, error)
- func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Record) ProtoMessage()
- func (m *Record) Reset()
- func (m *Record) Size() (n int)
- func (m *Record) String() string
- func (m *Record) Unmarshal(dAtA []byte) error
- func (m *Record) XXX_DiscardUnknown()
- func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Record) XXX_Merge(src proto.Message)
- func (m *Record) XXX_Size() int
- func (m *Record) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct { // The key that references this record Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The actual value this record is storing Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Time the record was received, set by receiver TimeReceived string `protobuf:"bytes,5,opt,name=timeReceived,proto3" json:"timeReceived,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Record represents a dht record that contains a value for a key value pair
func (*Record) Descriptor ¶
func (*Record) GetTimeReceived ¶
func (*Record) MarshalToSizedBuffer ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) XXX_DiscardUnknown ¶
func (m *Record) XXX_DiscardUnknown()
func (*Record) XXX_Marshal ¶
func (*Record) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.