Documentation ¶
Index ¶
Constants ¶
View Source
const (
Root = "boost.wrapper.publisher"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface {
Publish(context.Context, []*cloudevents.Event) ([]PublishOutput, error)
}
type PublishOutput ¶
type PublishOutput struct { Event *cloudevents.Event Error error }
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func New ¶
func New(driver Driver, mid ...middleware.AnyErrorMiddleware[[]PublishOutput]) *Publisher
Click to show internal directories.
Click to hide internal directories.