View Source Toggle.Comptime (toggle v0.1.1)

Module for handling compile-time parameters and configuration.

Summary

Functions

Returns the ttl for cached flags. Defaults to 1 minute.

The repo used to store flags. Defaults to Toggle.Repo.

Returns the name of the database table used to store flags. Defaults to "toggle_flags".

Functions

cache_ttl()

Returns the ttl for cached flags. Defaults to 1 minute.

repo()

The repo used to store flags. Defaults to Toggle.Repo.

table_name(schema)

Returns the name of the database table used to store flags. Defaults to "toggle_flags".