producer

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Messages

func Messages(ctx *gin.Context)

Messages delete kafka partition messages

Types

type MessagesRequest

type MessagesRequest struct {
	Topic    string `json:"topic"    form:"topic"    binding:"required"` //topic name
	Brokers  string `json:"brokers"  form:"brokers"  binding:"required"` //kafka brokers
	Messages string `json:"messages" form:"messages" binding:"required"` //message list
}

MessagesRequest request

type MessagesResponse

type MessagesResponse struct {
	Success bool   `json:"success"`
	Error   string `json:"error,omitempty"`
}

MessagesResponse response

Jump to

Keyboard shortcuts

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