View Source RedactEx.Algorithms (RedactEx v0.1.6)

Dispatcher of supported algorithms

Link to this section Summary

Functions

Get the AST of a redacting function from given module and configuration

Validate an algorithm at configuration level

Link to this section Functions

@spec algorithm_simple() :: :simple
@spec base_algorithms() :: [atom()]
Link to this function

generate_ast(module, configuration)

View Source
@spec generate_ast(
  module :: RedactEx.Algorithms.Algorithm.t(),
  configuration :: any()
) :: Macro.t()

Get the AST of a redacting function from given module and configuration

Link to this function

valid_algorithm?(algorithm)

View Source
@spec valid_algorithm?(algorithm :: atom() | module()) :: :ok | no_return()

Validate an algorithm at configuration level