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

35 lines
947 B
Go
Raw Normal View History

package host
2023-01-06 01:42:02 +00:00
import "npm/internal/entity/upstream"
// Template is the model given to the template parser, converted from the Model
type Template struct {
ID uint
CreatedAt string
UpdatedAt string
UserID uint
Type string
NginxTemplateID uint
2023-01-09 03:18:11 +00:00
ProxyScheme string
ProxyHost string
ProxyPort int
ListenInterface string
DomainNames []string
UpstreamID uint
CertificateID uint
AccessListID uint
SSLForced bool
CachingEnabled bool
BlockExploits bool
AllowWebsocketUpgrade bool
HTTP2Support bool
HSTSEnabled bool
HSTSSubdomains bool
IsDisabled bool
Paths string
AdvancedConfig string
Status string
ErrorMessage string
2023-01-06 01:42:02 +00:00
Upstream upstream.Model
}