blob: 85621f1826be90f8761b7a6f4c90833c773798c3 [file] [log] [blame]
Jamie Hannaford2a130242014-10-28 11:19:46 +01001package users
Jamie Hannaford929bd002014-10-29 11:14:25 +01002
3import (
4 "github.com/rackspace/gophercloud"
5 "github.com/rackspace/gophercloud/pagination"
6)
7
8func List(client *gophercloud.ServiceClient) pagination.Pager {
9 createPage := func(r pagination.PageResult) pagination.Page {
10 return UserPage{pagination.SinglePageBase(r)}
11 }
12
13 return pagination.NewPager(client, rootURL(client), createPage)
14}