// GetTopicsMetadata retrieves and returns all the topics' available metadata.
GetTopicsMetadata retrieves and returns all the topics' available metadata.
// GetTopicsMetadata retrieves and returns all the topics ' available metadata .
func (c *Client) GetTopicsMetadata() ([]TopicMetadata, error) {
	resp, err := c.Do(http.MethodGet, topicsMetadataPath, "", nil)
	if err != nil {
		return nil, err
	}
	var meta []TopicMetadata
	err = c.ReadJSON(resp, &meta)
	return meta, err
}
func ( c * Client ) GetTopicsMetadata ( ) ( [ ] TopicMetadata , error ) { resp , err := c . Do ( http . MethodGet , topicsMetadataPath , " " , nil ) if err != nil { return nil , err } var meta [ ] TopicMetadata err = c . ReadJSON ( resp , & meta ) return meta , err }
GetTopicsMetadata retrieves and returns all the topics' available metadata.
GetTopicsMetadata retrieves and returns all the topics ' available metadata .