kafkabee

package
v0.0.0-...-d838944 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type Data

type Data struct {
	DataValue
	DataKey
}

type DataKey

type DataKey struct {
	HiveID int
	//true = in; false = out;
	Direction bool
}

type DataValue

type DataValue struct {
	Colors   map[string]float64
	Size     float64
	HasWings bool
}

type KafkaStreaming

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

func (KafkaStreaming) Produce

func (k KafkaStreaming) Produce(d Data) error

type Streaming

type Streaming interface {
	//TODO generics ?
	Produce(Data) error
}
var (
	Stream Streaming
)

Jump to

Keyboard shortcuts

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