MCPcopy Create free account
hub / github.com/GetStream/stream-go2 / Analytics

Method Analytics

client.go:211–214  ·  view source on GitHub ↗

Analytics returns a new AnalyticsClient sharing the base configuration of the original Client.

()

Source from the content-addressed store, hash-verified

209
210// Analytics returns a new AnalyticsClient sharing the base configuration of the original Client.
211func (c *Client) Analytics() *AnalyticsClient {
212 b := newAnalyticsURLBuilder(c.region, c.version)
213 return &AnalyticsClient{client: c.cloneWithURLBuilder(b)}
214}
215
216// Collections returns a new CollectionsClient.
217func (c *Client) Collections() *CollectionsClient {

Callers 3

Calls 2

cloneWithURLBuilderMethod · 0.95
newAnalyticsURLBuilderFunction · 0.85

Tested by 3