Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDoHHandler ¶
func NewDoHHandler(handler dns.Handler) gin.HandlerFunc
func NewDoHResponseWriter ¶
func NewMobileconfigHandler ¶
func NewMobileconfigHandler(serverName string) gin.HandlerFunc
func RobotsTxtHandler ¶
Types ¶
type BlocklistHandler ¶
type BlocklistHandler struct {
// contains filtered or unexported fields
}
func NewBlocklistHandler ¶
func NewBlocklistHandler(updater *blocklist.Updater, logger *slog.Logger) *BlocklistHandler
func (*BlocklistHandler) Check ¶
func (h *BlocklistHandler) Check(c *gin.Context)
func (*BlocklistHandler) Disable ¶ added in v0.13.0
func (h *BlocklistHandler) Disable(c *gin.Context)
func (*BlocklistHandler) Reenable ¶ added in v0.13.0
func (h *BlocklistHandler) Reenable(c *gin.Context)
func (*BlocklistHandler) Reload ¶
func (h *BlocklistHandler) Reload(c *gin.Context)
func (*BlocklistHandler) Status ¶ added in v0.13.0
func (h *BlocklistHandler) Status(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.