Open shanduur opened 1 year ago
As the NewSub returns interface, and subSocket is not exported, the Topics() function is not accessible.
subSocket
Topics()
NewSub:
https://github.com/go-zeromq/zmq4/blob/2ae93282ddb8e2eaaf323158af66d74ddc8c3b38/sub.go#L16
Topics:
https://github.com/go-zeromq/zmq4/blob/2ae93282ddb8e2eaaf323158af66d74ddc8c3b38/sub.go#L120-L129
As the NewSub returns interface, and
subSocket
is not exported, theTopics()
function is not accessible.NewSub:
https://github.com/go-zeromq/zmq4/blob/2ae93282ddb8e2eaaf323158af66d74ddc8c3b38/sub.go#L16
Topics:
https://github.com/go-zeromq/zmq4/blob/2ae93282ddb8e2eaaf323158af66d74ddc8c3b38/sub.go#L120-L129