Documentation ¶
Index ¶
- Variables
- type IpnsRecord
- func (*IpnsRecord) Descriptor() ([]byte, []int)deprecated
- func (x *IpnsRecord) GetData() []byte
- func (x *IpnsRecord) GetPubKey() []byte
- func (x *IpnsRecord) GetSequence() uint64
- func (x *IpnsRecord) GetSignatureV1() []byte
- func (x *IpnsRecord) GetSignatureV2() []byte
- func (x *IpnsRecord) GetTtl() uint64
- func (x *IpnsRecord) GetValidity() []byte
- func (x *IpnsRecord) GetValidityType() IpnsRecord_ValidityType
- func (x *IpnsRecord) GetValue() []byte
- func (*IpnsRecord) ProtoMessage()
- func (x *IpnsRecord) ProtoReflect() protoreflect.Message
- func (x *IpnsRecord) Reset()
- func (x *IpnsRecord) String() string
- type IpnsRecord_ValidityType
- func (IpnsRecord_ValidityType) Descriptor() protoreflect.EnumDescriptor
- func (x IpnsRecord_ValidityType) Enum() *IpnsRecord_ValidityType
- func (IpnsRecord_ValidityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpnsRecord_ValidityType) Number() protoreflect.EnumNumber
- func (x IpnsRecord_ValidityType) String() string
- func (IpnsRecord_ValidityType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IpnsRecord_ValidityType_name = map[int32]string{ 0: "EOL", } IpnsRecord_ValidityType_value = map[string]int32{ "EOL": 0, } )
Enum value maps for IpnsRecord_ValidityType.
View Source
var File_record_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type IpnsRecord ¶
type IpnsRecord struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3,oneof" json:"value,omitempty"` SignatureV1 []byte `protobuf:"bytes,2,opt,name=signatureV1,proto3,oneof" json:"signatureV1,omitempty"` ValidityType *IpnsRecord_ValidityType `` /* 137-byte string literal not displayed */ Validity []byte `protobuf:"bytes,4,opt,name=validity,proto3,oneof" json:"validity,omitempty"` Sequence *uint64 `protobuf:"varint,5,opt,name=sequence,proto3,oneof" json:"sequence,omitempty"` Ttl *uint64 `protobuf:"varint,6,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"` PubKey []byte `protobuf:"bytes,7,opt,name=pubKey,proto3,oneof" json:"pubKey,omitempty"` SignatureV2 []byte `protobuf:"bytes,8,opt,name=signatureV2,proto3,oneof" json:"signatureV2,omitempty"` Data []byte `protobuf:"bytes,9,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*IpnsRecord) Descriptor
deprecated
func (*IpnsRecord) Descriptor() ([]byte, []int)
Deprecated: Use IpnsRecord.ProtoReflect.Descriptor instead.
func (*IpnsRecord) GetData ¶
func (x *IpnsRecord) GetData() []byte
func (*IpnsRecord) GetPubKey ¶
func (x *IpnsRecord) GetPubKey() []byte
func (*IpnsRecord) GetSequence ¶
func (x *IpnsRecord) GetSequence() uint64
func (*IpnsRecord) GetSignatureV1 ¶
func (x *IpnsRecord) GetSignatureV1() []byte
func (*IpnsRecord) GetSignatureV2 ¶
func (x *IpnsRecord) GetSignatureV2() []byte
func (*IpnsRecord) GetTtl ¶
func (x *IpnsRecord) GetTtl() uint64
func (*IpnsRecord) GetValidity ¶
func (x *IpnsRecord) GetValidity() []byte
func (*IpnsRecord) GetValidityType ¶
func (x *IpnsRecord) GetValidityType() IpnsRecord_ValidityType
func (*IpnsRecord) GetValue ¶
func (x *IpnsRecord) GetValue() []byte
func (*IpnsRecord) ProtoMessage ¶
func (*IpnsRecord) ProtoMessage()
func (*IpnsRecord) ProtoReflect ¶
func (x *IpnsRecord) ProtoReflect() protoreflect.Message
func (*IpnsRecord) Reset ¶
func (x *IpnsRecord) Reset()
func (*IpnsRecord) String ¶
func (x *IpnsRecord) String() string
type IpnsRecord_ValidityType ¶
type IpnsRecord_ValidityType int32
const (
IpnsRecord_EOL IpnsRecord_ValidityType = 0
)
func (IpnsRecord_ValidityType) Descriptor ¶
func (IpnsRecord_ValidityType) Descriptor() protoreflect.EnumDescriptor
func (IpnsRecord_ValidityType) Enum ¶
func (x IpnsRecord_ValidityType) Enum() *IpnsRecord_ValidityType
func (IpnsRecord_ValidityType) EnumDescriptor
deprecated
func (IpnsRecord_ValidityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpnsRecord_ValidityType.Descriptor instead.
func (IpnsRecord_ValidityType) Number ¶
func (x IpnsRecord_ValidityType) Number() protoreflect.EnumNumber
func (IpnsRecord_ValidityType) String ¶
func (x IpnsRecord_ValidityType) String() string
func (IpnsRecord_ValidityType) Type ¶
func (IpnsRecord_ValidityType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.