package
1.0.0
Repository: https://github.com/trustbloc/orb.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.
No description provided by the author

# Functions

New returns a new ActivityPub client.
ReadActivities reads the activities from the given iterator up to a maximum number specified by maxItems.
ReadReferences reads the references from the given iterator up to a maximum number specified by maxItems.

# Constants

Forward indicates that activities should be returned in the same order that they were retrieved from the REST endpoint.
Reverse indicates that activities should be returned in reverse order that they were retrieved from the REST endpoint..

# Variables

ErrNotFound is returned when the object is not found or the iterator has reached the end.

# Structs

Client implements an ActivityPub client which retrieves ActivityPub objects (such as actors, activities, and collections) from remote sources.
Config contains configuration parameters for the client.

# Interfaces

ActivityIterator iterates over the activities in a result set.
ReferenceIterator iterates over the references in a result set.

# Type aliases

Order is the order in which activities are returned.