implemented get all shares
This commit is contained in:
@@ -104,3 +104,7 @@ func (c *Client) GetObjectMetadata(ctx context.Context, key string) (*types.Meta
|
||||
|
||||
return metadata, nil
|
||||
}
|
||||
|
||||
func (c *Client) GetAllShares(ctx context.Context) ([]*types.Share, error) {
|
||||
return c.db.GetAllShares(ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user