core

package
v0.0.0-...-4829b00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package core implements the essential features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigHandler

func ConfigHandler(w http.ResponseWriter, r *http.Request)

func InitServer

func InitServer(configFilePath string)

Initiate the server with config file

func Reload

func Reload()

Reload config and restart server

func ReloadConfigHandler

func ReloadConfigHandler(w http.ResponseWriter, r *http.Request)

func ReloadHandler

func ReloadHandler(w http.ResponseWriter, r *http.Request)

ReloadHandler is passed to http.Server for handle "/reload" request

func Start

func Start()

func Stop

func Stop()

Stop server

Types

This section is empty.

Directories

Path Synopsis
Package cache implements dns cache feature with edns-client-subnet support.
Package cache implements dns cache feature with edns-client-subnet support.
Package common provides common functions.
Package common provides common functions.
Package hosts provides address lookups from hosts file.
Package hosts provides address lookups from hosts file.
Package inbound implements dns server for inbound connection.
Package inbound implements dns server for inbound connection.
mix
clients
Package outbound implements multiple dns client and dispatcher for outbound connection.
Package outbound implements multiple dns client and dispatcher for outbound connection.
clients/resolver
Package outbound implements multiple dns client and dispatcher for outbound connection.
Package outbound implements multiple dns client and dispatcher for outbound connection.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL