transaction

package
v0.10.26 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(transactions transactionstore.Store, proposals proposalstore.Store) *controller.Controller

NewController returns a transaction controller

Types

type ProposalWatcher added in v0.10.18

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

ProposalWatcher proposal store watcher

func (*ProposalWatcher) Start added in v0.10.18

func (w *ProposalWatcher) Start(ch chan<- controller.ID) error

Start starts the watcher

func (*ProposalWatcher) Stop added in v0.10.18

func (w *ProposalWatcher) Stop()

Stop stops the watcher

type Reconciler

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

Reconciler reconciles transactions

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(id controller.ID) (controller.Result, error)

Reconcile reconciles target transactions

type Watcher

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

Watcher transaction store watcher

func (*Watcher) Start

func (w *Watcher) Start(ch chan<- controller.ID) error

Start starts the watcher

func (*Watcher) Stop

func (w *Watcher) Stop()

Stop stops the watcher

Jump to

Keyboard shortcuts

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