publisher

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2019 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL