mirror of
https://github.com/joohoi/acme-dns.git
synced 2025-07-10 07:47:34 +07:00
Support for multiple TXT records per subdomain (#29)
* Support for multiple TXT records per subdomain and database upgrade functionality * Linter fixes * Make sure the database upgrade routine works for PostgreSQL * Move subdomain query outside of the upgrade transaction
This commit is contained in:
2
types.go
2
types.go
@ -79,7 +79,7 @@ type database interface {
|
||||
Init(string, string) error
|
||||
Register(cidrslice) (ACMETxt, error)
|
||||
GetByUsername(uuid.UUID) (ACMETxt, error)
|
||||
GetByDomain(string) ([]ACMETxt, error)
|
||||
GetTXTForDomain(string) ([]string, error)
|
||||
Update(ACMETxt) error
|
||||
GetBackend() *sql.DB
|
||||
SetBackend(*sql.DB)
|
||||
|
Reference in New Issue
Block a user