rabbitmq

package
v0.0.0-...-b2d74e5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GROUP_NAME  = "global"
	TYPE_NAME   = "notifier"
	MODULE_NAME = "rabbitmq"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RabbitMQURL      string
	QueueName        string
	QueueDurable     bool
	QueueAutoDelete  bool
	QueueExclusive   bool
	QueueNoWait      bool
	PublishExchange  string
	PublishKey       string
	PublishMandatory bool
	PublishImmediate bool
	MsgContentType   string
	MsgBody          string
}

Config for GlobalNotifierRabbitmq

type GlobalNotifierRabbitmq

type GlobalNotifierRabbitmq struct {
	core.Module
	// contains filtered or unexported fields
}

func (*GlobalNotifierRabbitmq) Close

func (m *GlobalNotifierRabbitmq) Close() error

func (*GlobalNotifierRabbitmq) GetConfig

func (m *GlobalNotifierRabbitmq) GetConfig() interface{}

func (*GlobalNotifierRabbitmq) GetGroup

func (m *GlobalNotifierRabbitmq) GetGroup() core.ModuleGroup

func (*GlobalNotifierRabbitmq) GetName

func (m *GlobalNotifierRabbitmq) GetName() string

func (*GlobalNotifierRabbitmq) GetType

func (m *GlobalNotifierRabbitmq) GetType() core.ModuleType

func (*GlobalNotifierRabbitmq) InitModule

func (m *GlobalNotifierRabbitmq) InitModule(_cfg interface{}) error

func (*GlobalNotifierRabbitmq) InitPipe

func (m *GlobalNotifierRabbitmq) InitPipe(w io.Writer, r io.Reader) error

func (*GlobalNotifierRabbitmq) Run

Jump to

Keyboard shortcuts

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