mq

package module
v0.0.0-...-7a06837 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: AGPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAMQPChannel

func GetAMQPChannel() (*amqp.Channel, error)

GetAMQPChannel returns an AMQP channel

func SetupAMQP

func SetupAMQP(ac config.AMQPConnection)

SetupAMQP sets the AMQP configuration

Types

type Payment

type Payment struct {
	Name    string
	Address []string
	City    string
	ZIP     string
	Country string
	Phone   string
	Email   string

	DateTime        time.Time
	Amount          int64
	AmountS         string
	Currency        string
	TransactionCode string
	Description     string

	Source              string
	SourceID            string
	SourcePayerID       string
	SourceTransactionID string

	BudgetID  int64
	PaymentID int64
}

func (*Payment) Process

func (p *Payment) Process() error

type Receipt

type Receipt struct {
	Name    string
	Address []string
	City    string
	ZIP     string
	Country string
	Phone   string
	Email   string

	Value    *big.Float
	DateTime time.Time
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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