Documentation ¶
Index ¶
Constants ¶
View Source
const ( CollectionType = "papersapp.com/collection" ItemType = "papersapp.com/item" )
Variables ¶
This section is empty.
Functions ¶
func ListCollections ¶
func ListCollections(ctx context.Context, serviceURL string, opts ...operations.Option) ([]*papersappsdk.Collection, error)
func NewItemPaginator ¶
func NewItemPaginator(opts ItemPaginatorOptions) operations.Paginator[papersappsdk.Items]
Types ¶
type APIToken ¶
type APIToken struct {
// contains filtered or unexported fields
}
APIToken is an implementation of operations.Authorizer for a papersapp API token.
func NewAPIToken ¶
type Item ¶
type Item struct { Item *papersappsdk.Item Collection *papersappsdk.Collection }
Item represents a single item in a collection and also includes the collection to which it belongs.
type ItemPaginatorOptions ¶
Click to show internal directories.
Click to hide internal directories.