utils

package
v0.0.0-...-d0f0867 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

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