producer

package
v0.0.0-...-6110840 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProduceService

type ProduceService struct {
	Kafka kafka.KafkaInterface
}

ProduceService ...

func ProducerServiceHAndler

func ProducerServiceHAndler() *ProduceService

ProducerServiceHAndler ...

func (*ProduceService) SendMessages

SendMessages ... @data: string topic: string return int64, error

type ProducerServiceInterface

type ProducerServiceInterface interface {
	SendMessages(payload *httpEntity.ProducerRequest) (*httpEntity.ProducerResponse, error)
}

ProducerServiceInterface ...

Jump to

Keyboard shortcuts

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