ejabberd v17.01.0 Ejabberd.Config.Attr
Module used to work with the attributes parsed from an elixir block (do…end).
Contains functions for extracting attrs from a block and validation.
Summary
Functions
Takes a block with annotations and extracts the list of attributes
Returns the default value for an attribute, given its name
Returns the type of an attribute, given its name
Takes an attribute or a list of attrs and validate them
Types
Functions
Takes a block with annotations and extracts the list of attributes.
Returns the default value for an attribute, given its name.
Returns the type of an attribute, given its name.