Arangox v0.2.0 Arangox.Endpoint View Source

Utilities for parsing ArangoDB endpoints.

See the arangosh or arangojs documentation for examples of supported endpoint formats.

Link to this section Summary

Functions

Parses an endpoint uri and returns a %URI{} struct. This is identical to URI.parse/1 with the exception that the host defaults to localhost and the port to 8529.

Determines wether a binary or %URI{} struct is a ssl/tls endpoint.

Determines wether a binary or %URI{} struct is a unix endpoint.

Link to this section Functions

Parses an endpoint uri and returns a %URI{} struct. This is identical to URI.parse/1 with the exception that the host defaults to localhost and the port to 8529.

Determines wether a binary or %URI{} struct is a ssl/tls endpoint.

Link to this function

unix?(endpoint)

View Source
unix?(binary() | URI.t()) :: boolean()

Determines wether a binary or %URI{} struct is a unix endpoint.