class

Config

Inherits Reference < Object

The Config class reads the config from a given YAML file and creates appropriate getters for the expected fields.

Constructors

new

Creates a new Config instance.

Source

Instance methods

getBoardDescription

Gets the board description from the config.

Source
getBoardName

Gets the board name from the config.

Source
getDbPath

Gets the database path from the config.

Source
getMaxReplies

Gets the maximum amount of replies from the config.

Source
getMaxThreads

Get the maximum amount of threads from the config.

Source
getSecretKey

Gets the secret key from the config.

Source
getThreadsPerPage

Gets the maximum amount of threads per page from the config.

Source
reload

Reloads the YAML config.

Source