Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
ContentType string
Body []byte
Opts []PublishOption
}
type Middleware ¶
type Middleware func(next RoundTripper) RoundTripper
type Option ¶
type Option func(p *Publisher)
func WithConnectionOptions ¶
func WithConnectionOptions(connOpts ...consumer.ConnOption) Option
func WithMiddlewares ¶
func WithMiddlewares(mws ...Middleware) Option
type PublishOption ¶
type Publisher ¶
type Publisher struct {
Address string
Queue string
ConnOpts []consumer.ConnOption
Middlewares []Middleware
// contains filtered or unexported fields
}
type RoundTripper ¶
Click to show internal directories.
Click to hide internal directories.