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

# Functions

NewActivityID returns a generated activity ID.
NewMockAnchorEvent returns a new mock AnchorEvent.
NewMockAnchorEventRef returns a new mock AnchorEvent reference.
NewMockAnchorLink returns a new mock anchor Link.
NewMockAnnounceActivities returns the given number of mock 'Announce' activities.
NewMockAnnounceActivity returns a new mock Announce activity.
NewMockCollection returns a mock 'Collection' with the given ID and items.
NewMockCollectionPage returns a mock 'CollectionPage' with the given ID and items.
NewMockCreateActivities returns the given number of mock 'Create' activities.
NewMockCreateActivity returns a new mock Create activity.
NewMockLikeActivities returns the given number of mock 'Like' activities.
NewMockLikeActivity returns a mock 'Like' activity.
NewMockOrderedCollection returns a mock 'OrderedCollection' with the given ID and items.
NewMockOrderedCollectionPage returns a mock 'OrderedCollectionPage' with the given ID and items.
NewMockPublicKey returns a mock public key using the given service IRI.
NewMockService returns a mock 'Service' type actor with the given IRI and options.
NewRandomHashlink returns a randomly generated hashlink.
WithPublicKey sets the public key on the mock service.

# Structs

ServiceOptions are options passed in to NewMockService.

# Type aliases

ServiceOpt is a mock service option.