Documentation
¶
Overview ¶
Code generated by options-gen. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyProducer ¶
type DummyProducer struct{}
func NewDummy ¶
func NewDummy() DummyProducer
func (DummyProducer) Stats ¶
func (DummyProducer) Stats() Stats
func (DummyProducer) WriteMessages ¶
func (DummyProducer) WriteMessages(ctx context.Context, msgs ...Message) error
type OptOptionsSetter ¶
type OptOptionsSetter func(o *Options)
func WithClientID ¶
func WithClientID(opt string) OptOptionsSetter
func WithTls ¶
func WithTls(opt bool) OptOptionsSetter
func WithTopic ¶
func WithTopic(opt string) OptOptionsSetter
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
func NewOptions ¶
func NewOptions( addrs []string, options ...OptOptionsSetter, ) Options
Click to show internal directories.
Click to hide internal directories.