Updated deps, go.19 migration, nginx template work

This commit is contained in:
Jamie Curnow
2022-11-08 10:03:45 +10:00
parent 8d37f5df8d
commit c00b690ed3
23 changed files with 375 additions and 376 deletions

View File

@ -0,0 +1,29 @@
package host
// Template is the model given to the template parser, converted from the Model
type Template struct {
ID int
CreatedOn string
ModifiedOn string
UserID int
Type string
HostTemplateID int
ListenInterface string
DomainNames []string
UpstreamID int
CertificateID int
AccessListID int
SSLForced bool
CachingEnabled bool
BlockExploits bool
AllowWebsocketUpgrade bool
HTTP2Support bool
HSTSEnabled bool
HSTSSubdomains bool
IsDisabled bool
Paths string
UpstreamOptions string
AdvancedConfig string
Status string
ErrorMessage string
}