updater

package
v3.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BothanClient

type BothanClient interface {
	bothanclient.Client
}

type FeedQuerier

type FeedQuerier interface {
	QueryCurrentFeeds() (*feeds.QueryCurrentFeedsResponse, error)
	QueryReferenceSourceConfig() (*feeds.QueryReferenceSourceConfigResponse, error)
}

type RemoteClient

type RemoteClient interface {
	rpcclient.RemoteClient
}

type Updater

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

func New

func New(
	feedQuerier FeedQuerier,
	bothanClient BothanClient,
	clients []rpcclient.RemoteClient,
	logger *logger.Logger,
	queryInterval time.Duration,
) *Updater

func (*Updater) Start

func (u *Updater) Start(sigChan chan<- os.Signal)

Jump to

Keyboard shortcuts

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