Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAgent ¶
CreateAgent creates PURLs in a given domain with a given interval.
Use this agent to simulate a user continuously generating PURLs.
func NewCreateAgent ¶
func (*CreateAgent) Run ¶
Run starts this agent's work loop.
Run ensures that the agent's Domain exists before starting to create PURLs.
The agent runs until the given context is cancelled. It will then decrement the given wait group.
You should use this method in a dedicated goroutine as this is a blocking function.
Click to show internal directories.
Click to hide internal directories.