Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessPoint ¶
type DeadLetter ¶
type DeadLetterNumber ¶
type DeadLetterNumber struct {
/* topic的编号 (Optional) */
TopicId string `json:"topicId"`
/* topic名称 (Optional) */
TopicName string `json:"topicName"`
/* consumerGroupId (Optional) */
ConsumerGroupId string `json:"consumerGroupId"`
/* 死信队列数 (Optional) */
DeadLetterNumber int `json:"deadLetterNumber"`
}
type Message ¶
type Message struct {
/* 消息id (Optional) */
MessageId string `json:"messageId"`
/* 内容 (Optional) */
Body string `json:"body"`
/* tag以逗号隔开 (Optional) */
Tags string `json:"tags"`
/* 用户设置的属性json字符串 (Optional) */
Properties string `json:"properties"`
/* 消息的存储时间 (Optional) */
StoreTime int `json:"storeTime"`
}
type Permission ¶
type Subscription ¶
type Subscription struct {
/* consumerGroupId (Optional) */
ConsumerGroupId string `json:"consumerGroupId"`
/* endPoint (Optional) */
EndPoint string `json:"endPoint"`
/* messageInvisibleTimeInSeconds (Optional) */
MessageInvisibleTimeInSeconds int `json:"messageInvisibleTimeInSeconds"`
/* subscriptionType (Optional) */
SubscriptionType string `json:"subscriptionType"`
/* tags (Optional) */
Tags []string `json:"tags"`
/* 是否开启死信队列 (Optional) */
DlqEnable bool `json:"dlqEnable"`
/* 最大重试次数 (Optional) */
MaxRetryTimes int `json:"maxRetryTimes"`
/* 创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 最后更新时间 (Optional) */
LastUpdateTime string `json:"lastUpdateTime"`
/* 在线consumer个数 (Optional) */
ConsumerNumbers int `json:"consumerNumbers"`
}
type Topic ¶
type Topic struct {
/* topic Id (Optional) */
TopicId string `json:"topicId"`
/* topic名称 (Optional) */
TopicName string `json:"topicName"`
/* 描述 (Optional) */
Description string `json:"description"`
/* 创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 更新时间 (Optional) */
LastUpdateTime string `json:"lastUpdateTime"`
/* topicStatus (Optional) */
TopicStatus string `json:"topicStatus"`
/* 自己创建的订阅数 (Optional) */
SubscriptionCount int `json:"subscriptionCount"`
/* 消息生命周期时长小时 (Optional) */
MessageLifeTimeInHours int `json:"messageLifeTimeInHours"`
/* 配置信息 (Optional) */
TopicConfig TopicConfig `json:"topicConfig"`
/* 是否是自己的topic (Optional) */
Own bool `json:"own"`
/* 被授权的权限[PUB,SUB,PUBSUB,READ_ONLY,ADMIN] (Optional) */
AuthorizedPermission string `json:"authorizedPermission"`
/* 标签信息 (Optional) */
Tags []Tag `json:"tags"`
}
type TopicConfig ¶
Click to show internal directories.
Click to hide internal directories.