data

package
v0.0.0-...-d685864 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOutboxMessage

func CreateOutboxMessage(outbox Outbox) error

func CreateSentMessage

func CreateSentMessage(outbox Outbox) error

func DBConnection

func DBConnection(sqlConf *helper.MySQlConfig) (*sql.DB, error)

Database Connection (MySQL)

func MQConnection

func MQConnection(mqConf *helper.RabbitMQConfig) (*amqp.Connection, error)

Messaging Queue Connection (RabbitMQ)

Types

type Outbox

type Outbox struct {
	DestinationNumber string
	TextDecoded       string
	CreatorID         string
	Class             string
}

Jump to

Keyboard shortcuts

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