Documentation
¶
Overview ¶
Package settings provides intermediary access to settings of a Betula instance. It handles DB interaction for you. Make sure access to it is initialized.
Index ¶
- func AdminUsername() string
- func CustomCSS() string
- func FederationEnabled() bool
- func Index()
- func NetworkHost() string
- func NetworkPort() uint
- func SetSettings(settings types.Settings)
- func SiteDescriptionHTML() template.HTML
- func SiteDescriptionMycomarkup() string
- func SiteDomain() string
- func SiteName() string
- func SiteTitle() template.HTML
- func SiteURL() string
- func ValidatePortFromWeb[N ~int | uint](port N) uint
- func WritePort(port uint)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminUsername ¶ added in v1.2.0
func AdminUsername() string
func FederationEnabled ¶ added in v1.2.0
func FederationEnabled() bool
func NetworkHost ¶ added in v1.0.0
func NetworkHost() string
func NetworkPort ¶
func NetworkPort() uint
func SetSettings ¶
func SiteDescriptionHTML ¶
func SiteDescriptionMycomarkup ¶
func SiteDescriptionMycomarkup() string
func SiteDomain ¶ added in v1.2.0
func SiteDomain() string
func ValidatePortFromWeb ¶ added in v1.0.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.