func()

in topic_manager.go [85:95]


func (p *MNSTopicManager) GetTopicAttributes(topicName string) (attr TopicAttribute, err error) {
	topicName = strings.TrimSpace(topicName)

	if err = checkTopicName(topicName); err != nil {
		return
	}

	_, err = send(p.cli, p.decoder, GET, nil, nil, "topics/"+topicName, &attr)

	return
}