syncer

package
v0.0.0-...-b82b5e7 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher struct {
	// contains filtered or unexported fields
}

func NewFetcher

func NewFetcher(conf *config.Config) *Fetcher

func (*Fetcher) SetConfirmer

func (fetcher *Fetcher) SetConfirmer(confirmer *ledger.ConfirmerLegacy)

func (*Fetcher) Worker

func (fetcher *Fetcher) Worker(ctx context.Context)

type Pusher

type Pusher struct {
	// contains filtered or unexported fields
}

func NewPusher

func NewPusher(conf *config.Config, mempool iMempool2) *Pusher

func (*Pusher) Worker

func (pusher *Pusher) Worker(ctx context.Context)

type Syncer

type Syncer struct {
	// contains filtered or unexported fields
}

func NewSyncer

func NewSyncer() *Syncer

func (*Syncer) Router

func (syncer *Syncer) Router(w http.ResponseWriter, r *http.Request)

func (*Syncer) SetMempool

func (syncer *Syncer) SetMempool(mempool iMempool)

Jump to

Keyboard shortcuts

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