record

package
v2.4.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migration020RecordOldFormat

type Migration020RecordOldFormat 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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RecordOldFormat represents a dht record that contains a value for a key value pair

func (*Migration020RecordOldFormat) Descriptor

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

func (*Migration020RecordOldFormat) GetAuthor

func (m *Migration020RecordOldFormat) GetAuthor() string

func (*Migration020RecordOldFormat) GetKey

func (m *Migration020RecordOldFormat) GetKey() string

func (*Migration020RecordOldFormat) GetSignature

func (m *Migration020RecordOldFormat) GetSignature() []byte

func (*Migration020RecordOldFormat) GetTimeReceived

func (m *Migration020RecordOldFormat) GetTimeReceived() string

func (*Migration020RecordOldFormat) GetValue

func (m *Migration020RecordOldFormat) GetValue() []byte

func (*Migration020RecordOldFormat) ProtoMessage

func (*Migration020RecordOldFormat) ProtoMessage()

func (*Migration020RecordOldFormat) Reset

func (m *Migration020RecordOldFormat) Reset()

func (*Migration020RecordOldFormat) String

func (m *Migration020RecordOldFormat) String() string

func (*Migration020RecordOldFormat) XXX_DiscardUnknown

func (m *Migration020RecordOldFormat) XXX_DiscardUnknown()

func (*Migration020RecordOldFormat) XXX_Marshal

func (m *Migration020RecordOldFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Migration020RecordOldFormat) XXX_Merge

func (m *Migration020RecordOldFormat) XXX_Merge(src proto.Message)

func (*Migration020RecordOldFormat) XXX_Size

func (m *Migration020RecordOldFormat) XXX_Size() int

func (*Migration020RecordOldFormat) XXX_Unmarshal

func (m *Migration020RecordOldFormat) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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