Versions in this module Expand all Collapse all v0 v0.0.2 Jun 19, 2023 v0.0.1 Jun 19, 2023 Changes in this version + func SignedHeadSchema() schema.Type + type Option func(*config) error + func WithAnnounceSenders(senders ...announce.Sender) Option + func WithExtraData(data []byte) Option + type Publisher struct + func NewPublisher(address string, lsys ipld.LinkSystem, privKey ic.PrivKey, options ...Option) (*Publisher, error) + func NewPublisherForListener(listener net.Listener, handlerPath string, lsys ipld.LinkSystem, ...) (*Publisher, error) + func NewPublisherWithoutServer(address string, handlerPath string, lsys ipld.LinkSystem, privKey ic.PrivKey, ...) (*Publisher, error) + func (p *Publisher) Addrs() []multiaddr.Multiaddr + func (p *Publisher) AnnounceHead(ctx context.Context) error + func (p *Publisher) AnnounceHeadWithAddrs(ctx context.Context, addrs []multiaddr.Multiaddr) error + func (p *Publisher) Close() error + func (p *Publisher) ID() peer.ID + func (p *Publisher) Protocol() int + func (p *Publisher) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (p *Publisher) SetRoot(_ context.Context, c cid.Cid) error + func (p *Publisher) UpdateRoot(ctx context.Context, c cid.Cid) error + func (p *Publisher) UpdateRootWithAddrs(ctx context.Context, c cid.Cid, addrs []multiaddr.Multiaddr) error