View Source Fixtures.Network (Fixtures v0.0.11)

Network related generators.

Summary

Functions

@spec cidr(Keyword.t()) :: String.t()

A

Link to this function

cidr(settings, key, opts \\ [])

View Source
@spec cidr(Keyword.t(), atom(), Keyword.t()) :: String.t()

A

@spec domain(Keyword.t()) :: String.t()

A

It is possible to pass :depth to set the number of subdomains.

Link to this function

domain(settings, key, opts \\ [])

View Source
@spec domain(Keyword.t(), atom(), Keyword.t()) :: String.t()

A

It is possible to pass :depth to set the number of subdomains.

@spec email(Keyword.t()) :: String.t()

A

Link to this function

email(settings, key, opts \\ [])

View Source
@spec email(Keyword.t(), atom(), Keyword.t()) :: String.t()

A

@spec ip(Keyword.t()) :: String.t()

A

Link to this function

ip(settings, key, opts \\ [])

View Source
@spec ip(Keyword.t(), atom(), Keyword.t()) :: String.t()

A

@spec tld(Keyword.t()) :: String.t()

Random top level domain.

Link to this function

tld(settings, key, opts \\ [])

View Source
@spec tld(Keyword.t(), atom(), Keyword.t()) :: String.t()

Random top level domain.

@spec url(Keyword.t()) :: String.t()

A

Link to this function

url(settings, key, opts \\ [])

View Source
@spec url(Keyword.t(), atom(), Keyword.t()) :: String.t()

A

@spec user_agent(Keyword.t()) :: String.t()

Generate a random popular user agent.

Link to this function

user_agent(settings, key, opts \\ [])

View Source
@spec user_agent(Keyword.t(), atom(), Keyword.t()) :: String.t()

Generate a random popular user agent.