Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { AppPath string Host string Port int HTTP httpRec LiveMode bool DevelMode bool Session session Registration struct{ Allowed bool } Logger struct { JSON bool Fmt string } Init initialiser // Mailer is currently a noop. Mailer mailer }
Config represents the Dhall configuration schema, https://git.dotya.ml/mirre-mt/pcmt-config-schema/ for reference.
func (*Config) SessionSecretsAreHex ¶
SessionSecretsAreHex returns whether session secrets are hex-encoded.
Click to show internal directories.
Click to hide internal directories.