feeder

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InitTimeout = 15 * time.Second
)

Functions

This section is empty.

Types

type Feeder

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

Feeder is the price feeder.

func NewFeeder

func NewFeeder(eventStream types.EventStream, priceProvider types.PriceProvider, pricePoster types.PricePoster, logger zerolog.Logger) *Feeder

func (*Feeder) Close

func (f *Feeder) Close()

func (*Feeder) Run

func (f *Feeder) Run()

Run instantiates a new Feeder instance.

Directories

Path Synopsis
sources
Credit: @oleksandrmarkelov https://github.com/NibiruChain/pricefeeder/pull/27
Credit: @oleksandrmarkelov https://github.com/NibiruChain/pricefeeder/pull/27

Jump to

Keyboard shortcuts

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