Euros v0.2.1 Euros.CrawledRegistry View Source

Manage crawled uri

Example

iex> {:ok, registry_name} = Euros.CrawledRegistry.start()
iex> Euros.CrawledRegistry.exists?(registry_name, URI.parse("http://example.com"))
false
iex> Euros.CrawledRegistry.register(registry_name, URI.parse("http://example.com"))
iex> Euros.CrawledRegistry.exists?(registry_name, URI.parse("http://example.com"))
true

Link to this section Summary

Functions

Checks for already crawled

Register uri

Link to this section Functions

Checks for already crawled

Register uri

Link to this function start(name \\ generate_name()) View Source

Start registry