app

package
v0.0.0-...-7608417 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Commands Commands
	Queries  Queries
	// contains filtered or unexported fields
}

func NewApplication

func NewApplication(db *sql.DB, logger zerolog.Logger) (*Application, error)

func (*Application) StartProjections

func (app *Application) StartProjections()

StartProjections starts the projections

func (*Application) StopProjections

func (app *Application) StopProjections()

StopProjections stops the projections

type Commands

type Commands struct {
	CreateNewPlan     commands.CreateNewPlanHandler
	CreateOrMatchPair commands.CreateOrMatchPairHandler
	ConfirmPairWallet commands.ConfirmPairWalletHandler
	SetPairAssurances commands.SetPairAssurancesHandler
	AddDeposit        commands.AddDepositHandler
	SignWithdrawal    commands.SignWithdrawalHandler
	SubmitLP          commands.SubmitLPHandler
	SubmitWithdrawal  commands.SubmitWithdrawalHandler
}

type Queries

type Queries struct {
	Plans *queries.PlansQuery
	Pairs *queries.PairsQuery
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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