Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.