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

Method AggregatedFeed

client.go:141–147  ·  view source on GitHub ↗

AggregatedFeed returns a new Aggregated Feed with the provided slug and userID.

(slug, userID string)

Source from the content-addressed store, hash-verified

139// AggregatedFeed returns a new Aggregated Feed with the provided slug and
140// userID.
141func (c *Client) AggregatedFeed(slug, userID string) (*AggregatedFeed, error) {
142 feed, err := newFeed(slug, userID, c)
143 if err != nil {
144 return nil, err
145 }
146 return &AggregatedFeed{*feed}, nil
147}
148
149// NotificationFeed returns a new Notification Feed with the provided slug and
150// userID.

Callers 3

TestFeedIDFunction · 0.80
TestInvalidFeedUserIDFunction · 0.80

Calls 1

newFeedFunction · 0.85

Tested by 3

TestFeedIDFunction · 0.64
TestInvalidFeedUserIDFunction · 0.64