Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchRes ¶
type FetchRes struct { Subject string `json:"subject"` ID string `json:"id"` Data []string `json:"data"` }
FetchRes represents fetch response body.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler represents broker handler.
func (*Handler) PublishAsync ¶
type PublishReq ¶
PublishReq represents publish request body.
type SubscribeReq ¶
type SubscribeReq struct {
Subject string `json:"subject"`
}
SubscribeReq represents subscribe request body.
type SubscribeRes ¶
SubscribeRes represents subscribe response body.
Click to show internal directories.
Click to hide internal directories.