Documentation ¶ Index ¶ type Publisher func New(logger *zap.Logger) *Publisher func (p *Publisher) SetLastAck(publicKey *ecdsa.PublicKey, now int64) func (p *Publisher) ShouldAdvertiseBundle(publicKey *ecdsa.PublicKey, now int64) (bool, error) func (p *Publisher) Start() <-chan struct{} func (p *Publisher) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Publisher ¶ type Publisher struct { // contains filtered or unexported fields } func New ¶ func New(logger *zap.Logger) *Publisher func (*Publisher) SetLastAck ¶ func (p *Publisher) SetLastAck(publicKey *ecdsa.PublicKey, now int64) func (*Publisher) ShouldAdvertiseBundle ¶ func (p *Publisher) ShouldAdvertiseBundle(publicKey *ecdsa.PublicKey, now int64) (bool, error) func (*Publisher) Start ¶ func (p *Publisher) Start() <-chan struct{} func (*Publisher) Stop ¶ func (p *Publisher) Stop() Source Files ¶ View all Source files doc.go persistence.go publisher.go Click to show internal directories. Click to hide internal directories.