Documentation ¶
Index ¶
- func GetQueryOptions(opts ...store.QueryOpt) *store.QueryOptions
- func GetRefMetadata(refMetadataOpts ...store.RefMetadataOpt) *store.RefMetadata
- func ReadActivities(it store.ActivityIterator, maxItems int) ([]*vocab.ActivityType, error)
- func ReadReferences(it store.ReferenceIterator, maxItems int) ([]*url.URL, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetQueryOptions ¶
func GetQueryOptions(opts ...store.QueryOpt) *store.QueryOptions
GetQueryOptions populates and returns the QueryOptions struct with the given options.
func GetRefMetadata ¶
func GetRefMetadata(refMetadataOpts ...store.RefMetadataOpt) *store.RefMetadata
GetRefMetadata populates and returns the RefMetadata struct with the given metadata.
func ReadActivities ¶
func ReadActivities(it store.ActivityIterator, maxItems int) ([]*vocab.ActivityType, error)
ReadActivities returns all of the activities resulting from iterating over the given iterator, up to the given maximum number of activities. If maxItems is <=0 then all items are read.
func ReadReferences ¶
ReadReferences returns all of the references resulting from iterating over the given iterator, up to the given maximum number of references. If maxItems is <=0 then all items are read.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.