nginx-proxy-manager/backend/internal/entity/certificate/template.go

23 lines
615 B
Go
Raw Normal View History

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
}