txnprocessing

package
v0.0.0-...-0820d52 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FactProviderContext

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

FactProviderContext keeps session data

type MosolyClient

type MosolyClient interface {
	GetProjectUpdates(ctx context.Context, since time.Time) ([]mosolyapi.Project, error)
	GetUserUpdates(ctx context.Context, since time.Time) ([]mosolyapi.User, error)
}

MosolyClient is a client that interacts with Mosoly api.

type TxnProcessing

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

TxnProcessing for transaction processing

func New

func New(db *sqlx.DB, c *ethclient.Client, apiClient MosolyClient, httpClient *http.Client) (*TxnProcessing, error)

New returns new instance of TxnProcessing

func (*TxnProcessing) GetAuditName

func (t *TxnProcessing) GetAuditName() string

GetAuditName audit name

func (*TxnProcessing) Run

func (t *TxnProcessing) Run(ctx context.Context) (err error)

Run runs processing synchronously

Jump to

Keyboard shortcuts

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