rabbitmq

package
v0.0.0-...-e24b382 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Consume

func Consume(writer *sql.DB, callback func(*sql.DB, []byte) error)

Consume -

func Publish

func Publish(data []byte) (err error)

Publish -

Types

type RabbitMQ

type RabbitMQ struct {
	Connection   *amqp.Connection
	Channel      *amqp.Channel
	ExchangeName string
	ExchangeType string
	QueueName    string
	RoutingKey   string
}

RabbitMQ -

type TransferMeta

type TransferMeta struct {
	FileName     string
	FileSha1     string
	FileSize     int64
	FileCurAddr  string
	FileDestAddr string
}

TransferMeta -

Jump to

Keyboard shortcuts

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