utils

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 10

Documentation

Overview

Package utils implements various tools used in examples for Kafka library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Cmd string
	Message
}

Command to prompt for.

func GetCommand

func GetCommand() *Command

GetCommand allows user to select a command and reads the input arguments.

type Message

type Message struct {
	Topic    string
	Text     string
	Key      string
	Metadata string
}

Message contains the message elements to prompt for.

Jump to

Keyboard shortcuts

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