|
|
|
@ -76,7 +76,7 @@ func (c *Client) Pull(r UrlBase) ([]byte, error) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *Client) Ack(r UrlBase, index string, action string) ([]byte, error) {
|
|
|
|
|
ack := fmt.Sprintf("%s/%s/ack", http.FormatUrl(r.GetEndPoint(), false), "v2")
|
|
|
|
|
ack := fmt.Sprintf("%s/%s/ack", http.FormatUrl(r.GetEndPoint(), true), "v2")
|
|
|
|
|
t := getUTCStr()
|
|
|
|
|
data := map[string]string{
|
|
|
|
|
PTopic: r.GetTopicName(),
|
|
|
|
|