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

Method Collections

client.go:217–220  ·  view source on GitHub ↗

Collections returns a new CollectionsClient.

()

Source from the content-addressed store, hash-verified

215
216// Collections returns a new CollectionsClient.
217func (c *Client) Collections() *CollectionsClient {
218 b := newAPIURLBuilder(c.addr, c.region, c.version)
219 return &CollectionsClient{client: c.cloneWithURLBuilder(b)}
220}
221
222// Users returns a new UsersClient.
223func (c *Client) Users() *UsersClient {

Calls 2

cloneWithURLBuilderMethod · 0.95
newAPIURLBuilderFunction · 0.85

Tested by 8

TestCollectionRefHelpersFunction · 0.64
TestGetCollectionObjectFunction · 0.64
TestAddCollectionObjectFunction · 0.64