rabbitmq

package
v0.0.0-...-ba37926 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionCreate = "create"
	ActionUpdate = "update"
	ActionDelete = "delete"
	ActionIndex  = "index"
)

Variables

This section is empty.

Functions

func HowIsLife

func HowIsLife(errorChannel chan *amqp.Error)

func NewChannel

func NewChannel(conf *ClientConfig) *amqp.Channel

NewClient creates the Cient with configuration.

Types

type BulkRequest

type BulkRequest struct {
	Action string
	Index  string
	Type   string
	ID     string
	Parent string

	Data map[string]interface{}
}

type ClientConfig

type ClientConfig struct {
	AmqpURL string
}

ClientConfig is the configuration for the client.

Jump to

Keyboard shortcuts

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