watcher

package
v0.0.0-...-e16fa07 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

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

func NewWatcher

func NewWatcher(logger log.Logger, monitor *monitoring.HttpMonitoring, counter *txcounter.TxCounter, msgBuilder *social.MessageBuilder) (*Watcher, error)

func (*Watcher) CheckLastTweetTime

func (w *Watcher) CheckLastTweetTime()

func (*Watcher) CheckTransaction

func (w *Watcher) CheckTransaction(tx *bitcoin.RawTransaction)

CheckTransaction will see if it's a big transaction to tweet about.

Jump to

Keyboard shortcuts

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