Documentation ¶
Index ¶
- type CheckIsIPNSRecord
- type IpnsRecord
- func (i *IpnsRecord) B58MH() string
- func (i *IpnsRecord) IdV0() string
- func (i *IpnsRecord) IdV1() string
- func (i *IpnsRecord) Key() string
- func (i *IpnsRecord) ToCID(codec multicodec.Code, base mbase.Encoding) string
- func (i *IpnsRecord) Valid() error
- func (i *IpnsRecord) Validity() time.Time
- func (i *IpnsRecord) Value() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckIsIPNSRecord ¶
type CheckIsIPNSRecord struct {
// contains filtered or unexported fields
}
func IsIPNSRecord ¶
func IsIPNSRecord(keyId string) *CheckIsIPNSRecord
func (*CheckIsIPNSRecord) Check ¶
func (c *CheckIsIPNSRecord) Check(recordPayload []byte) check.CheckOutput
func (*CheckIsIPNSRecord) IsInvalid ¶
func (c *CheckIsIPNSRecord) IsInvalid() *CheckIsIPNSRecord
func (*CheckIsIPNSRecord) IsValid ¶
func (c *CheckIsIPNSRecord) IsValid() *CheckIsIPNSRecord
func (*CheckIsIPNSRecord) PointsTo ¶
func (c *CheckIsIPNSRecord) PointsTo(value string, rest ...any) *CheckIsIPNSRecord
type IpnsRecord ¶
type IpnsRecord struct {
// contains filtered or unexported fields
}
func MustOpenIPNSRecordWithKey ¶
func MustOpenIPNSRecordWithKey(file string) *IpnsRecord
func OpenIPNSRecordWithKey ¶
func OpenIPNSRecordWithKey(absPath string) (*IpnsRecord, error)
func UnmarshalIpnsRecord ¶
func UnmarshalIpnsRecord(data []byte, pubKey string) (*IpnsRecord, error)
func (*IpnsRecord) B58MH ¶
func (i *IpnsRecord) B58MH() string
func (*IpnsRecord) IdV0 ¶
func (i *IpnsRecord) IdV0() string
func (*IpnsRecord) IdV1 ¶
func (i *IpnsRecord) IdV1() string
func (*IpnsRecord) Key ¶
func (i *IpnsRecord) Key() string
func (*IpnsRecord) ToCID ¶
func (i *IpnsRecord) ToCID(codec multicodec.Code, base mbase.Encoding) string
func (*IpnsRecord) Valid ¶
func (i *IpnsRecord) Valid() error
func (*IpnsRecord) Validity ¶
func (i *IpnsRecord) Validity() time.Time
func (*IpnsRecord) Value ¶
func (i *IpnsRecord) Value() string
Click to show internal directories.
Click to hide internal directories.