Documentation
¶
Index ¶
- Constants
- func AddRecord(name, addr string)
- func GetClientCrt() string
- func GetCrt() string
- func GetDnsListen() string
- func GetHttpsListen() string
- func GetKey() string
- func GetRecord(name string) []string
- func GetTtl() int
- func GetUpstream() string
- func RemoveRecord(name string)
- func SetTtl(ttl int)
- func SetUpstream(upstream string)
- type Config
Constants ¶
View Source
const ConfigFilename = "./config.json"
Variables ¶
This section is empty.
Functions ¶
func GetClientCrt ¶
func GetClientCrt() string
func GetDnsListen ¶
func GetDnsListen() string
func GetHttpsListen ¶
func GetHttpsListen() string
func GetUpstream ¶
func GetUpstream() string
func RemoveRecord ¶
func RemoveRecord(name string)
func SetUpstream ¶
func SetUpstream(upstream string)
Types ¶
Click to show internal directories.
Click to hide internal directories.