Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ProducerPluginPath = golenv.OverrideIfEnv("PRODUCER_PLUGIN_PATH", "./producer.so")
)
View Source
var (
ProducerType = golenv.OverrideIfEnv("PRODUCER_TYPE", "echo")
)
Functions ¶
Types ¶
type NewProducerFunc ¶
type NewProducerFunc func() Producer
type Producer ¶
func NewEchoProducer ¶
func NewEchoProducer() Producer
func NewProducer ¶
func NewProducer() Producer
func NewProducerPlugin ¶
func NewProducerPlugin() Producer
type ProducerPlugin ¶
func (*ProducerPlugin) Close ¶
func (plugin *ProducerPlugin) Close()
Click to show internal directories.
Click to hide internal directories.