publisher

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 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