wrapper

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewSyncProducerFn = SaramaNewSyncProducerWrapper

Function Variables To Facilitate Mocking Of Sarama Functionality In Unit Tests

Functions

func SaramaNewSyncProducerWrapper

func SaramaNewSyncProducerWrapper(brokers []string, config *sarama.Config) (sarama.SyncProducer, error)

The Production Sarama NewSyncProducer Wrapper Function

Types

type NewSyncProducerFnType

type NewSyncProducerFnType = func(brokers []string, config *sarama.Config) (sarama.SyncProducer, error)

Define Function Type For Wrapper Variables (Typesafe Stubbing For Tests)

Jump to

Keyboard shortcuts

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