Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultContentType = headerVal.ContentTypeJSON
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option struct {
PublisherID string
Middlewares []goqueue.PublisherMiddlewareFunc
}
Option define the option property
type OptionFunc ¶
type OptionFunc func(opt *Option)
OptionFunc used for option chaining
func WithMiddlewares ¶
func WithMiddlewares(middlewares ...goqueue.PublisherMiddlewareFunc) OptionFunc
func WithPublisherID ¶
func WithPublisherID(id string) OptionFunc
Click to show internal directories.
Click to hide internal directories.