Documentation
¶
Index ¶
Constants ¶
View Source
const ( Name = "edgeos" // ToggleContentFilteringLink and ToggleDnsShieldLink are help pages for // the user. The log redaction keeps them whole. ToggleContentFilteringLink = "https://community.ui.com/questions/UDM-Pro-disable-enable-DNS-filtering/e2cc4060-e56a-4139-b200-62d7f773ff8f" ToggleDnsShieldLink = "https://community.ui.com/questions/UniFi-OS-3-2-7-DNS-Shield-Missing/d3a85905-4ce0-4fe4-8bf0-6cb04f21371d" )
Variables ¶
View Source
var ErrContentFilteringEnabled = fmt.Errorf(`the "Content Filtering" feature" is enabled, which is conflicted with ctrld.\n To disable it, folowing instruction here: %s`, ToggleContentFilteringLink)
View Source
var ErrDnsShieldEnabled = fmt.Errorf(`the "DNS Shield" feature" is enabled, which is conflicted with ctrld.\n To disable it, folowing screenshot here: %s`, ToggleDnsShieldLink)
Functions ¶
func ContentFilteringEnabled ¶
func ContentFilteringEnabled() bool
func DnsShieldEnabled ¶ added in v1.3.4
func DnsShieldEnabled() bool
DnsShieldEnabled reports whether DNS Shield is enabled. See: https://community.ui.com/releases/UniFi-OS-Dream-Machines-3-2-7/251dfc1e-f4dd-4264-a080-3be9d8b9e02b
func LeaseFileDir ¶ added in v1.3.1
func LeaseFileDir() string
Types ¶
Click to show internal directories.
Click to hide internal directories.