mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
29990110b1
for Mysql and Postgres in addition to existing Sqlite
35 lines
947 B
Go
35 lines
947 B
Go
package host
|
|
|
|
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
|
|
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
|
|
Upstream upstream.Model
|
|
}
|