Files
terminal/server/dto/website.go
T

33 lines
1.3 KiB
Go

package dto
type WebsiteDTO struct {
ID string `json:"id"`
Name string `json:"name"`
Enabled bool `json:"enabled"`
TargetUrl string `json:"targetUrl"`
TargetHost string `json:"targetHost"`
TargetPort int `json:"targetPort"`
Domain string `json:"domain"`
AsciiDomain string `json:"asciiDomain"`
Entrance string `json:"entrance"`
Description string `json:"description"`
Status string `json:"status"`
StatusText string `json:"statusText"`
GatewayType string `json:"gatewayType"`
GatewayId string `json:"gatewayId"`
BasicAuth interface{} `json:"basicAuth"`
Headers interface{} `json:"headers"`
Cert interface{} `json:"cert"`
Public interface{} `json:"public"`
TempAllow interface{} `json:"tempAllow"`
Created int64 `json:"createdAt"`
GroupId string `json:"groupId"`
Sort string `json:"sort"`
Logo string `json:"logo"`
Scheme string `json:"scheme"`
Host string `json:"host"`
Port int `json:"port"`
PreserveHost bool `json:"preserveHost"`
DisableAccessLog bool `json:"disableAccessLog"`
}