Skip to content

Commit

Permalink
Merge pull request #40 from pubnub/CE-3077-Abort-Fix
Browse files Browse the repository at this point in the history
Subscribe v2 Abort Fix
  • Loading branch information
crimsonred authored Oct 4, 2017
2 parents 876cc04 + 8fc8e50 commit dd13a1f
Show file tree
Hide file tree
Showing 95 changed files with 530 additions and 498 deletions.
14 changes: 14 additions & 0 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
---
changelog:
-
changes:
-
text: “Subscribe v2 Abort Fix”
type: improvement
date: Oct 3, 17
version: v3.16.0
-
changes:
-
text: “Add support for setting the non subscribe HTTP client”
type: improvement
date: Jun 21, 17
version: v3.15.0
-
changes:
-
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#PubNub 3.14.0 client for Go
#PubNub 3.16.0 client for Go
* Go (1.2, 1.3, 1.4, 1.5, 1.6, 1.7.3, 1.8)
* Google App Engine (1.9.28 - 2015-10-29)
* Managed VMs (Google Cloud SDK 133.0.0)
Expand All @@ -9,7 +9,7 @@

## Contact [email protected] for all questions

##PubNub 3.14.0 Go based APIs
##PubNub 3.16.0 Go based APIs
Learn more at http://www.pubnub.com

## Available in this repository
Expand All @@ -22,7 +22,7 @@ Learn more at http://www.pubnub.com

### For Non Google App Engine

* [PubNub SDK for GO](messaging) (3.14.0)
* [PubNub SDK for GO](messaging) (3.16.0)
* [Example](messaging/examples/cli/pubnubExample.go)

## Contact [email protected] for all questions
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.14.0
3.16.0
6 changes: 5 additions & 1 deletion messaging/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
## Contact [email protected] for all questions

# PubNub 3.15.0 client for Go 1.0.3, 1.1, 1.3, 1.3.1, 1.4.2, 1.5.2, 1.6.2, 1.7.3, 1.8
# PubNub 3.16.0 client for Go 1.0.3, 1.1, 1.3, 1.3.1, 1.4.2, 1.5.2, 1.6.2, 1.7.3, 1.8

### Important changes from version 3.10.0 onwards:
Breaking API Change: newPubnub has a new parameter where it expects a logger instance [Example](#init). This fixes a rare race condition

### Change log
* 3.16.0
* Subscribe v2 Abort Fix
* 3.15.0
* Add support for setting the non subscribe HTTP client
* 3.14.0
* Fixed a corner case panic
* 3.13.0
* Presence Delta Intervals
Expand Down
2 changes: 1 addition & 1 deletion messaging/examples/cli/pubnubExample.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func Init() (b bool) {
}

//messaging.SetOrigin("balancer-tj71.devbuild.aws-pdx-1.ps.pn")
messaging.SetOrigin("ps.pndsn.com")
messaging.SetOrigin("beta-2017q3.pubnub.com");//"ps.pndsn.com")

var pubInstance = messaging.NewPubnub(publishKey, subscribeKey, secretKey, cipher, ssl, uuid, infoLogger)

Expand Down
28 changes: 21 additions & 7 deletions messaging/pubnub.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package messaging provides the implemetation to connect to pubnub api.
// Version: 3.15.0
// Build Date: Jun 19, 2017
// Version: 3.16.0
// Build Date: Sep 28, 2017
package messaging

import (
Expand Down Expand Up @@ -31,9 +31,9 @@ import (

const (
// sdkVersion is the current SDK version
sdkVersion = "3.15.0"
sdkVersion = "3.16.0"
// sdkDate is the version release date
sdkDate = "Jun 19, 2017"
sdkDate = "Sep 28, 2017"
)

type responseStatus int
Expand Down Expand Up @@ -690,6 +690,7 @@ func (pub *Pubnub) Abort() {
subscribedGroups := pub.groups.ConnectedNamesString()

if subscribedChannels != "" || subscribedGroups != "" {
pub.infoLogger.Printf("INFO: aborting subscribedChannels or subscribedGroups:%s == %s", subscribedChannels, subscribedGroups)
value, _, err := pub.sendLeaveRequest(subscribedChannels, subscribedGroups)

if err != nil {
Expand All @@ -698,6 +699,8 @@ func (pub *Pubnub) Abort() {
pub.sendSubscribeError(subscribedChannels, subscribedGroups,
err.Error(), responseAsIsError)
} else {
pub.infoLogger.Printf("INFO: value:%s", value)

pub.sendSuccessResponse(subscribedChannels, subscribedGroups, value)
}

Expand All @@ -707,6 +710,8 @@ func (pub *Pubnub) Abort() {
pub.channels.Abort(pub.infoLogger)
pub.groups.Abort(pub.infoLogger)
pub.Unlock()
} else {
pub.infoLogger.Printf("INFO: subscribedChannels or subscribedGroups empty:%s == %s", subscribedChannels, subscribedGroups)
}

pub.subscribeWorker.Cancel()
Expand Down Expand Up @@ -1747,18 +1752,27 @@ func (pub *Pubnub) sendSuccessResponse(channels, groups string, response []byte)
channel, found := pub.channels.Get(itemName)
if !found {
pub.infoLogger.Printf("ERROR: Channel '%s' not found\n", itemName)
continue
}
if(channel.IsV2){
channel.StatusChannel <- createPNStatus(false, "", nil, PNCancelledCategory, []string{itemName}, nil)
} else {
channel.SuccessChannel <- response
}

channel.SuccessChannel <- response
}

for _, itemName := range splitItems(groups) {
group, found := pub.channels.Get(itemName)
if !found {
pub.infoLogger.Printf("ERROR: Group '%s' not found\n", itemName)
continue
}
if(group.IsV2){
group.StatusChannel <- createPNStatus(false, "", nil, PNCancelledCategory, nil, []string{itemName})
} else {

group.SuccessChannel <- response
group.SuccessChannel <- response
}
}
}

Expand Down
8 changes: 4 additions & 4 deletions messaging/pubnub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ func TestCreateSubscribeURLReset(t *testing.T) {
b, tt := pubnub.createSubscribeURL("", "4")
//log.SetOutput(os.Stdout)
//log.Printf("b:%s, tt:%s", b, tt)
assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=0&tr=4&filter-expr=aoi_x%20%3E%3D%200&heartbeat=10&state=%7B%22ch%22%3A%7B%22k%22%3A%22v%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0")
assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=0&tr=4&filter-expr=aoi_x%20%3E%3D%200&heartbeat=10&state=%7B%22ch%22%3A%7B%22k%22%3A%22v%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0")
assert.Equal(senttt, tt)
presenceHeartbeat = 0
}
Expand All @@ -1174,7 +1174,7 @@ func TestCreateSubscribeURL(t *testing.T) {
b, tt := pubnub.createSubscribeURL("14767805072942467", "4")
//log.SetOutput(os.Stdout)
//log.Printf("b:%s, tt:%s", b, tt)
assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=14767805072942467&tr=4&filter-expr=aoi_x%20%3E%3D%200&pnsdk=PubNub-Go%2F3.15.0")
assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=14767805072942467&tr=4&filter-expr=aoi_x%20%3E%3D%200&pnsdk=PubNub-Go%2F3.16.0")
assert.Equal(senttt, tt)
}

Expand All @@ -1198,7 +1198,7 @@ func TestCreateSubscribeURLFilterExp(t *testing.T) {
b, tt := pubnub.createSubscribeURL("14767805072942467", "4")
//log.SetOutput(os.Stdout)
//log.Printf("b:%s, tt:%s", b, tt)
assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=14767805072942467&tr=4&filter-expr=aoi_x%20%3E%3D%200%20AND%20aoi_x%20%3C%3D%202%20AND%20aoi_y%20%3E%3D%200%20AND%20aoi_y%3C%3D%202&pnsdk=PubNub-Go%2F3.15.0")
assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=14767805072942467&tr=4&filter-expr=aoi_x%20%3E%3D%200%20AND%20aoi_x%20%3C%3D%202%20AND%20aoi_y%20%3E%3D%200%20AND%20aoi_y%3C%3D%202&pnsdk=PubNub-Go%2F3.16.0")
assert.Equal(senttt, tt)
}

Expand Down Expand Up @@ -1228,7 +1228,7 @@ func TestCreatePresenceHeartbeatURL(t *testing.T) {
//log.SetOutput(os.Stdout)
//log.Printf("b:%s", b)

assert.Equal("/v2/presence/sub_key/demo/channel/ch/heartbeat?channel-group=cg&uuid=testuuid&heartbeat=10&state=%7B%22ch%22%3A%7B%22k%22%3A%22v%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0", b)
assert.Equal("/v2/presence/sub_key/demo/channel/ch/heartbeat?channel-group=cg&uuid=testuuid&heartbeat=10&state=%7B%22ch%22%3A%7B%22k%22%3A%22v%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0", b)
presenceHeartbeat = 0

}
Expand Down
4 changes: 2 additions & 2 deletions messaging/subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func CreateSubscriptionChannels() (chan []byte, chan []byte) {
}

// CreateSubscriptionChannelsV2 creates channels for subscription
func CreateSubscriptionChannelsV2() (chan PNStatus,
/*func CreateSubscriptionChannelsV2() (chan PNStatus,
chan PNMessageResult,
chan PNPresenceEventResult) {
Expand All @@ -345,4 +345,4 @@ func CreateSubscriptionChannelsV2() (chan PNStatus,
presenceChannel := make(chan PNPresenceEventResult)
return statusChannel, messageChannel, presenceChannel
}
}*/
16 changes: 8 additions & 8 deletions messaging/tests/fixtures/groups/addRemove_NonSubscribe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?add=Channel_AddRemove1%2CChannel_AddRemove2&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AddRemove_1
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?add=Channel_AddRemove1%2CChannel_AddRemove2&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AddRemove_1
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down Expand Up @@ -44,8 +44,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AddRemove_1
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AddRemove_1
method: GET
response:
body: '{"status": 200, "payload": {"channels": ["Channel_AddRemove1", "Channel_AddRemove2"],
Expand Down Expand Up @@ -80,8 +80,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.15.0&remove=Channel_AddRemove1&uuid=UUID_AddRemove_2
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.16.0&remove=Channel_AddRemove1&uuid=UUID_AddRemove_2
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down Expand Up @@ -116,8 +116,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AddRemove_2
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AddRemove_2
method: GET
response:
body: '{"status": 200, "payload": {"channels": ["Channel_AddRemove2"], "group":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AlreadySubscribed?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AlreadySubscribed
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AlreadySubscribed?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AlreadySubscribed
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down Expand Up @@ -44,8 +44,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_AlreadySubscribed&channel-group=Group_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_AlreadySubscribed&channel-group=Group_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0
method: GET
response:
body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}'
Expand Down Expand Up @@ -79,8 +79,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AlreadySubscribed/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AlreadySubscribed
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AlreadySubscribed/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AlreadySubscribed
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down
10 changes: 5 additions & 5 deletions messaging/tests/fixtures/groups/alreadySubscribed_Subscribe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=0&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=0&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0
method: GET
response:
body: '[[],"14588035016872721"]'
Expand Down Expand Up @@ -37,8 +37,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=0&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=0&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0
method: GET
response:
body: '[[],"14588035017179157"]'
Expand All @@ -60,5 +60,5 @@ interactions:
status: 200 OK
code: 200
unclosed_requests:
? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=14588035016872721&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0
? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=14588035016872721&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0
: {}
28 changes: 14 additions & 14 deletions messaging/tests/fixtures/groups/conAndUnsMultiple_NonSubscribe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_1?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_1?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down Expand Up @@ -44,8 +44,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_2?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_2?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down Expand Up @@ -80,8 +80,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_3?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_3?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down Expand Up @@ -116,8 +116,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_Multiple_CAU&channel-group=Group_ConAndUnsMult_1,Group_ConAndUnsMult_2,Group_ConAndUnsMult_3&pnsdk=PubNub-Go%2F3.15.0
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_Multiple_CAU&channel-group=Group_ConAndUnsMult_1,Group_ConAndUnsMult_2,Group_ConAndUnsMult_3&pnsdk=PubNub-Go%2F3.16.0
method: GET
response:
body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}'
Expand Down Expand Up @@ -151,8 +151,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_1/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_1/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down Expand Up @@ -187,8 +187,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_2/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_2/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down Expand Up @@ -223,8 +223,8 @@ interactions:
Accept-Encoding:
- gzip
User-Agent:
- ua_string=(linux) PubNub-Go/3.15.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_3/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU
- ua_string=(linux) PubNub-Go/3.16.0
url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_3/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU
method: GET
response:
body: '{"status": 200, "message": "OK", "service": "channel-registry", "error":
Expand Down
Loading

0 comments on commit dd13a1f

Please sign in to comment.