message

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 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 string, tag string) error
	SubscribeToQueue(queueName string, consumerName string, tag string, 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(string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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