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 ¶
func (svc *ProduceService) SendMessages(payload *httpEntity.ProducerRequest) (*httpEntity.ProducerResponse, error)
SendMessages ... @data: string topic: string return int64, error
type ProducerServiceInterface ¶
type ProducerServiceInterface interface {
SendMessages(payload *httpEntity.ProducerRequest) (*httpEntity.ProducerResponse, error)
}
ProducerServiceInterface ...
Click to show internal directories.
Click to hide internal directories.