transmithandler

package
v0.0.0-...-eb6d389 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transmit

type Transmit struct {
	// contains filtered or unexported fields
}

func (Transmit) Send

func (t Transmit) Send(key, val []byte, topic string) (partition int32, offset int64, err error)

type TransmitHandler

type TransmitHandler struct {
	// contains filtered or unexported fields
}

func New

func New(kfkConn sarama.Client) (*TransmitHandler, error)

func (*TransmitHandler) Close

func (th *TransmitHandler) Close()

func (*TransmitHandler) Outgoing

func (th *TransmitHandler) Outgoing() <-chan Transmit

Jump to

Keyboard shortcuts

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