message

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PrefixKey = "__host"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdapterAmqp

type AdapterAmqp interface {
	String() string
	PublishOnQueue(exchangeName, exchangeType, queueName, key, tag string, body interface{}) error
	SubscribeToQueue(exchangeName, exchangeType, queueName, key, tag string, durableQueue bool, consumerExclusive bool, handlerFunc AmqpConsumerFunc) error
}

type AdapterMail

type AdapterMail interface {
	String() string
	Send(address []string, body []byte) error
}

type AdapterSms

type AdapterSms interface {
	String() string
	Close()
	Send(addresses []string, template string, params map[string]string) error
	GetClient() interface{}
}

type AmqpConsumerFunc

type AmqpConsumerFunc func([]byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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