handler

package
v0.0.0-...-c4499ef Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerMock

type HandlerMock struct {
	mock.Mock
}

func (*HandlerMock) Transaction

func (h *HandlerMock) Transaction(fund []byte)

type HandlerTransaction

type HandlerTransaction interface {
	Transaction(fund []byte)
}

type HandlerTransactionService

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

func New

func New(
	storage storage.Database,
	chPublish chan []byte,
	chErrPublish chan []byte,
) *HandlerTransactionService

func (*HandlerTransactionService) Transaction

func (hs *HandlerTransactionService) Transaction(fund []byte)

Jump to

Keyboard shortcuts

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