message

package
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 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(queueName string, body []byte) error
	SubscribeToQueue(queueName string, consumerName string, handlerFunc AmqpConsumerFunc) error
}

type AdapterMail

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

type AdapterSms

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

type AmqpConsumerFunc

type AmqpConsumerFunc func([]byte) error

Jump to

Keyboard shortcuts

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