Documentation ¶
Index ¶
- Variables
- type IpnsEntrydeprecated
- func (*IpnsEntry) Descriptor() ([]byte, []int)
- func (m *IpnsEntry) GetData() []byte
- func (m *IpnsEntry) GetPubKey() []byte
- func (m *IpnsEntry) GetSequence() uint64
- func (m *IpnsEntry) GetSignatureV1() []byte
- func (m *IpnsEntry) GetSignatureV2() []byte
- func (m *IpnsEntry) GetTtl() uint64
- func (m *IpnsEntry) GetValidity() []byte
- func (m *IpnsEntry) GetValidityType() IpnsEntry_ValidityType
- func (m *IpnsEntry) GetValue() []byte
- func (m *IpnsEntry) Marshal() (dAtA []byte, err error)
- func (m *IpnsEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *IpnsEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IpnsEntry) ProtoMessage()
- func (m *IpnsEntry) Reset()
- func (m *IpnsEntry) Size() (n int)
- func (m *IpnsEntry) String() string
- func (m *IpnsEntry) Unmarshal(dAtA []byte) error
- func (m *IpnsEntry) XXX_DiscardUnknown()
- func (m *IpnsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IpnsEntry) XXX_Merge(src proto.Message)
- func (m *IpnsEntry) XXX_Size() int
- func (m *IpnsEntry) XXX_Unmarshal(b []byte) error
- type IpnsEntry_ValidityTypedeprecated
- type IpnsSignatureV2Checkerdeprecated
- func (*IpnsSignatureV2Checker) Descriptor() ([]byte, []int)
- func (m *IpnsSignatureV2Checker) GetPubKey() []byte
- func (m *IpnsSignatureV2Checker) GetSignatureV2() []byte
- func (m *IpnsSignatureV2Checker) Marshal() (dAtA []byte, err error)
- func (m *IpnsSignatureV2Checker) MarshalTo(dAtA []byte) (int, error)
- func (m *IpnsSignatureV2Checker) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IpnsSignatureV2Checker) ProtoMessage()
- func (m *IpnsSignatureV2Checker) Reset()
- func (m *IpnsSignatureV2Checker) Size() (n int)
- func (m *IpnsSignatureV2Checker) String() string
- func (m *IpnsSignatureV2Checker) Unmarshal(dAtA []byte) error
- func (m *IpnsSignatureV2Checker) XXX_DiscardUnknown()
- func (m *IpnsSignatureV2Checker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IpnsSignatureV2Checker) XXX_Merge(src proto.Message)
- func (m *IpnsSignatureV2Checker) XXX_Size() int
- func (m *IpnsSignatureV2Checker) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Deprecated: use github.com/ipfs/boxo/ipns/pb.ErrInvalidLengthIpns ErrInvalidLengthIpns = fmt.Errorf("proto: negative length found during unmarshaling") // Deprecated: use github.com/ipfs/boxo/ipns/pb.ErrIntOverflowIpns ErrIntOverflowIpns = fmt.Errorf("proto: integer overflow") // Deprecated: use github.com/ipfs/boxo/ipns/pb.ErrUnexpectedEndOfGroupIpns ErrUnexpectedEndOfGroupIpns = fmt.Errorf("proto: unexpected end of group") )
View Source
var IpnsEntry_ValidityType_name = map[int32]string{
0: "EOL",
}
Deprecated: use github.com/ipfs/boxo/ipns/pb.IpnsEntry_ValidityType_name
View Source
var IpnsEntry_ValidityType_value = map[string]int32{
"EOL": 0,
}
Deprecated: use github.com/ipfs/boxo/ipns/pb.IpnsEntry_ValidityType_value
Functions ¶
This section is empty.
Types ¶
type IpnsEntry
deprecated
type IpnsEntry struct { Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` SignatureV1 []byte `protobuf:"bytes,2,opt,name=signatureV1" json:"signatureV1,omitempty"` ValidityType *IpnsEntry_ValidityType `protobuf:"varint,3,opt,name=validityType,enum=ipns.pb.IpnsEntry_ValidityType" json:"validityType,omitempty"` Validity []byte `protobuf:"bytes,4,opt,name=validity" json:"validity,omitempty"` Sequence *uint64 `protobuf:"varint,5,opt,name=sequence" json:"sequence,omitempty"` Ttl *uint64 `protobuf:"varint,6,opt,name=ttl" json:"ttl,omitempty"` // in order for nodes to properly validate a record upon receipt, they need the public // key associated with it. For old RSA keys, its easiest if we just send this as part of // the record itself. For newer ed25519 keys, the public key can be embedded in the // peerID, making this field unnecessary. PubKey []byte `protobuf:"bytes,7,opt,name=pubKey" json:"pubKey,omitempty"` SignatureV2 []byte `protobuf:"bytes,8,opt,name=signatureV2" json:"signatureV2,omitempty"` Data []byte `protobuf:"bytes,9,opt,name=data" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Deprecated: use github.com/ipfs/boxo/ipns/pb.IpnsEntry
func (*IpnsEntry) Descriptor ¶
func (*IpnsEntry) GetSequence ¶
func (*IpnsEntry) GetSignatureV1 ¶ added in v0.1.0
func (*IpnsEntry) GetSignatureV2 ¶ added in v0.1.0
func (*IpnsEntry) GetValidity ¶
func (*IpnsEntry) GetValidityType ¶
func (m *IpnsEntry) GetValidityType() IpnsEntry_ValidityType
func (*IpnsEntry) MarshalToSizedBuffer ¶ added in v0.0.2
func (*IpnsEntry) ProtoMessage ¶
func (*IpnsEntry) ProtoMessage()
func (*IpnsEntry) XXX_DiscardUnknown ¶
func (m *IpnsEntry) XXX_DiscardUnknown()
func (*IpnsEntry) XXX_Marshal ¶
func (*IpnsEntry) XXX_Unmarshal ¶
type IpnsEntry_ValidityType
deprecated
type IpnsEntry_ValidityType int32
Deprecated: use github.com/ipfs/boxo/ipns/pb.IpnsEntry_ValidityType
const ( // setting an EOL says "this record is valid until..." // // Deprecated: use github.com/ipfs/boxo/ipns/pb.IpnsEntry_EOL IpnsEntry_EOL IpnsEntry_ValidityType = 0 )
func (IpnsEntry_ValidityType) Enum ¶
func (x IpnsEntry_ValidityType) Enum() *IpnsEntry_ValidityType
func (IpnsEntry_ValidityType) EnumDescriptor ¶
func (IpnsEntry_ValidityType) EnumDescriptor() ([]byte, []int)
func (IpnsEntry_ValidityType) String ¶
func (x IpnsEntry_ValidityType) String() string
func (*IpnsEntry_ValidityType) UnmarshalJSON ¶
func (x *IpnsEntry_ValidityType) UnmarshalJSON(data []byte) error
type IpnsSignatureV2Checker
deprecated
added in
v0.1.0
type IpnsSignatureV2Checker struct { PubKey []byte `protobuf:"bytes,7,opt,name=pubKey" json:"pubKey,omitempty"` SignatureV2 []byte `protobuf:"bytes,8,opt,name=signatureV2" json:"signatureV2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Deprecated: use github.com/ipfs/boxo/ipns/pb.IpnsSignatureV2Checker
func (*IpnsSignatureV2Checker) Descriptor ¶ added in v0.1.0
func (*IpnsSignatureV2Checker) Descriptor() ([]byte, []int)
func (*IpnsSignatureV2Checker) GetPubKey ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) GetPubKey() []byte
func (*IpnsSignatureV2Checker) GetSignatureV2 ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) GetSignatureV2() []byte
func (*IpnsSignatureV2Checker) Marshal ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) Marshal() (dAtA []byte, err error)
func (*IpnsSignatureV2Checker) MarshalTo ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) MarshalTo(dAtA []byte) (int, error)
func (*IpnsSignatureV2Checker) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IpnsSignatureV2Checker) ProtoMessage ¶ added in v0.1.0
func (*IpnsSignatureV2Checker) ProtoMessage()
func (*IpnsSignatureV2Checker) Reset ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) Reset()
func (*IpnsSignatureV2Checker) Size ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) Size() (n int)
func (*IpnsSignatureV2Checker) String ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) String() string
func (*IpnsSignatureV2Checker) Unmarshal ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) Unmarshal(dAtA []byte) error
func (*IpnsSignatureV2Checker) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) XXX_DiscardUnknown()
func (*IpnsSignatureV2Checker) XXX_Marshal ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IpnsSignatureV2Checker) XXX_Merge ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) XXX_Merge(src proto.Message)
func (*IpnsSignatureV2Checker) XXX_Size ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) XXX_Size() int
func (*IpnsSignatureV2Checker) XXX_Unmarshal ¶ added in v0.1.0
func (m *IpnsSignatureV2Checker) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.