Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPNSRecord ¶
type IPNSRecord struct { PubKey libp2p_crypto.PubKey PrivKey libp2p_crypto.PrivKey Builder *IPNSURIBuilder Ttl time.Duration Record *pb.IpnsEntry }
func New ¶
func New(key crypto.PrivateKey) (*IPNSRecord, error)
func (*IPNSRecord) CreateRecord ¶
func (ir *IPNSRecord) CreateRecord() error
type IPNSURIBuilder ¶
type IPNSURIBuilder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder() *IPNSURIBuilder
func (*IPNSURIBuilder) BuildService ¶
func (iub *IPNSURIBuilder) BuildService() did.Service
func (*IPNSURIBuilder) SetCid ¶
func (iub *IPNSURIBuilder) SetCid(cid string)
func (*IPNSURIBuilder) String ¶
func (iub *IPNSURIBuilder) String() string
Click to show internal directories.
Click to hide internal directories.