Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPublisher ¶
func NewPublisher(address string, lsys ipld.LinkSystem, privKey ic.PrivKey, options ...Option) (*publisher, error)
NewPublisher creates a new http publisher, listening on the specified address.
func SignedHeadSchema ¶
Types ¶
type Option ¶ added in v0.5.5
type Option func(*config) error
Option is a function that sets a value in a config.
func WithAnnounceSenders ¶ added in v0.5.5
WithAnnounceSenders sets announce.Senders to use for sending announcements.
func WithExtraData ¶ added in v0.5.5
WithExtraData sets the extra data to include in the pubsub message.
Click to show internal directories.
Click to hide internal directories.