notifier

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Notifier = "Notifier"
)

Variables

This section is empty.

Functions

func GetTransactionsFromDelivery

func GetTransactionsFromDelivery(delivery amqp.Delivery, service string) (types.Txs, error)

func RunNotifier

func RunNotifier(database *db.Instance, delivery amqp.Delivery) error

func ToUniqueAddresses

func ToUniqueAddresses(addresses []string) []string

func UnprefixedAddress added in v1.1.15

func UnprefixedAddress(address string) (string, uint, bool)

Types

type TransactionNotification

type TransactionNotification struct {
	Action types.TransactionType `json:"action"`
	Result types.Tx              `json:"result"`
}

Jump to

Keyboard shortcuts

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