publisher

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 2 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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