inputs

package
v0.0.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate added in v0.0.23

type Certificate struct {
	NiceName string `json:"nice_name"`
	Provider string `json:"provider"`
}

type CertificateCustom added in v0.0.23

type CertificateCustom struct {
	Name           string `json:"name"`
	Certificate    string `json:"certificate"`
	CertificateKey string `json:"certificate_key"`
}

type CertificateUpload added in v0.0.23

type CertificateUpload struct {
	CertificateId  int64  `json:"certificate_id"`
	Certificate    string `json:"certificate"`
	CertificateKey string `json:"certificate_key"`
}

type ProxyHost

type ProxyHost struct {
	DomainNames           []string                    `json:"domain_names"`
	ForwardScheme         string                      `json:"forward_scheme"`
	ForwardHost           string                      `json:"forward_host"`
	ForwardPort           uint16                      `json:"forward_port"`
	CertificateID         string                      `json:"certificate_id"`
	SSLForced             bool                        `json:"ssl_forced"`
	HSTSEnabled           bool                        `json:"hsts_enabled"`
	HSTSSubdomains        bool                        `json:"hsts_subdomains"`
	HTTP2Support          bool                        `json:"http2_support"`
	BlockExploits         bool                        `json:"block_exploits"`
	CachingEnabled        bool                        `json:"caching_enabled"`
	AllowWebsocketUpgrade bool                        `json:"allow_websocket_upgrade"`
	AccessListID          int64                       `json:"access_list_id"`
	AdvancedConfig        string                      `json:"advanced_config"`
	Meta                  map[string]string           `json:"meta"`
	Locations             ProxyHostLocationCollection `json:"locations"`
}

type ProxyHostLocation

type ProxyHostLocation struct {
	Path           string `json:"path"`
	ForwardScheme  string `json:"forward_scheme"`
	ForwardHost    string `json:"forward_host"`
	ForwardPort    uint16 `json:"forward_port"`
	AdvancedConfig string `json:"advanced_config"`
}

type ProxyHostLocationCollection

type ProxyHostLocationCollection []ProxyHostLocation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL