package
0.0.0-20210117222026-ad3dd47ae240
Repository: https://github.com/outout14/sacrebleu-api.git
Documentation: pkg.go.dev

# Functions

GetDomains : get all domains from gorm database (by id).
SQLMigrate : Launch the database migration (creation of tables).

# Structs

Domain : Struct for a domain.
Record : Struct for a domain recordDefined by it's ID, DomainID (parent domain), Fqdn (or name), Content (value of the record), Type (as Qtype/int), TTL.
User : Struct for a user (to access to the API).