Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MessageRequest ¶
type MessageRequest struct { Topic string `json:"topic" form:"topic" binding:"required"` //topic name Brokers string `json:"brokers" form:"brokers" binding:"required"` //kafka brokers EndOffset int64 `json:"end_offset" form:"end_offset" binding:"exists,min=1"` //end offset, whose offset is smaller than the given offset of the corresponding partition will be delete. PartitionID int `json:"partition_id" form:"partition_id" binding:"exists,min=0"` //partition id }
MessageRequest delete message request
type MessageResponse ¶
MessageResponse delete message response
type TopicRequest ¶
type TopicRequest struct { Topic string `json:"topic" form:"topic" binding:"required"` //topic name Brokers string `json:"brokers" form:"brokers" binding:"required"` //kafka brokers }
TopicRequest request
type TopicResponse ¶
TopicResponse response
Click to show internal directories.
Click to hide internal directories.