Updated deps, go.19 migration, nginx template work
This commit is contained in:
22
backend/internal/entity/certificate/template.go
Normal file
22
backend/internal/entity/certificate/template.go
Normal file
@ -0,0 +1,22 @@
|
||||
package certificate
|
||||
|
||||
// Template is the model given to the template parser, converted from the Model
|
||||
type Template struct {
|
||||
ID int
|
||||
CreatedOn string
|
||||
ModifiedOn string
|
||||
ExpiresOn string
|
||||
Type string
|
||||
UserID int
|
||||
CertificateAuthorityID int
|
||||
DNSProviderID int
|
||||
Name string
|
||||
DomainNames []string
|
||||
Status string
|
||||
IsECC int
|
||||
// These are helpers for template generation
|
||||
IsCustom bool
|
||||
IsAcme bool // non-custom
|
||||
IsProvided bool
|
||||
Folder string
|
||||
}
|
Reference in New Issue
Block a user