internal

package
v0.0.0-pr144 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAutoDealer

func NewAutoDealer(ctx context.Context) dealer.Dealer

New creates a new instance of AutoDealer.

Types

type AutoDealer

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

AutoDealer implements the Services interface.

func (*AutoDealer) DealMatched

func (a *AutoDealer) DealMatched(dealID string)

DealMatched is called when a deal is matched.

func (*AutoDealer) DealsAgreed

func (a *AutoDealer) DealsAgreed() <-chan string

DealsAgreed returns a channel to receive agreed deals.

Jump to

Keyboard shortcuts

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