mirror of
https://github.com/joohoi/acme-dns.git
synced 2025-07-10 15:57:51 +07:00
Moved global vars to types.go
This commit is contained in:
9
types.go
9
types.go
@ -7,6 +7,15 @@ import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
// DNSConf is global configuration struct
|
||||
var DNSConf DNSConfig
|
||||
|
||||
// DB is used to access the database functions in acme-dns
|
||||
var DB database
|
||||
|
||||
// RR holds the static DNS records
|
||||
var RR Records
|
||||
|
||||
// Records is for static records
|
||||
type Records struct {
|
||||
Records map[uint16]map[string][]dns.RR
|
||||
|
Reference in New Issue
Block a user