Documentation ¶
Index ¶
- type AccessList
- type AccessListAuth
- type AccessListAuthCollection
- type AccessListClient
- type AccessListClientCollection
- type AccessListCollection
- type Api
- type Certificate
- type CertificateCollection
- type CertificateValidated
- type DeadHost
- type DeadHostCollection
- type Meta
- type ProxyHost
- type ProxyHostCollection
- type ProxyHostLocation
- type ProxyHostLocationCollection
- type RedirectionHost
- type RedirectionHostCollection
- type Stream
- type StreamCollection
- type User
- type UserCollection
- type UserPermissions
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessList ¶
type AccessList struct { Name string `json:"name"` Items AccessListAuthCollection `json:"items"` Clients AccessListClientCollection `json:"clients"` PassAuth boolAsInt `json:"pass_auth"` SatisfyAny boolAsInt `json:"satisfy_any"` ProxyHostCount int64 `json:"proxy_host_count"` // contains filtered or unexported fields }
type AccessListAuth ¶
type AccessListAuthCollection ¶
type AccessListAuthCollection []AccessListAuth
type AccessListClient ¶
type AccessListClientCollection ¶
type AccessListClientCollection []AccessListClient
type AccessListCollection ¶
type AccessListCollection []AccessList
type Certificate ¶
type CertificateCollection ¶
type CertificateCollection []Certificate
type CertificateValidated ¶ added in v0.0.23
type CertificateValidated struct { Certificate certificate `json:"certificate"` CertificateKey bool `json:"certificate_key"` }
type DeadHost ¶ added in v0.0.19
type DeadHost struct { DomainNames []string `json:"domain_names"` CertificateID json.RawMessage `json:"certificate_id"` SSLForced boolAsInt `json:"ssl_forced"` HSTSEnabled boolAsInt `json:"hsts_enabled"` HSTSSubdomains boolAsInt `json:"hsts_subdomains"` HTTP2Support boolAsInt `json:"http2_support"` AdvancedConfig string `json:"advanced_config"` Enabled boolAsInt `json:"enabled"` // contains filtered or unexported fields }
type DeadHostCollection ¶ added in v0.0.19
type DeadHostCollection []DeadHost
type Meta ¶
type Meta map[string]json.RawMessage
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 json.RawMessage `json:"certificate_id"` SSLForced boolAsInt `json:"ssl_forced"` HSTSEnabled boolAsInt `json:"hsts_enabled"` HSTSSubdomains boolAsInt `json:"hsts_subdomains"` HTTP2Support boolAsInt `json:"http2_support"` BlockExploits boolAsInt `json:"block_exploits"` CachingEnabled boolAsInt `json:"caching_enabled"` AllowWebsocketUpgrade boolAsInt `json:"allow_websocket_upgrade"` AccessListID int64 `json:"access_list_id"` AdvancedConfig string `json:"advanced_config"` Enabled boolAsInt `json:"enabled"` Locations ProxyHostLocationCollection `json:"locations"` // contains filtered or unexported fields }
type ProxyHostCollection ¶
type ProxyHostCollection []ProxyHost
type ProxyHostLocation ¶
type ProxyHostLocationCollection ¶
type ProxyHostLocationCollection []ProxyHostLocation
type RedirectionHost ¶ added in v0.0.17
type RedirectionHost struct { DomainNames []string `json:"domain_names"` ForwardScheme string `json:"forward_scheme"` ForwardDomainName string `json:"forward_domain_name"` ForwardHTTPCode uint16 `json:"forward_http_code"` CertificateID json.RawMessage `json:"certificate_id"` SSLForced boolAsInt `json:"ssl_forced"` HSTSEnabled boolAsInt `json:"hsts_enabled"` HSTSSubdomains boolAsInt `json:"hsts_subdomains"` HTTP2Support boolAsInt `json:"http2_support"` PreservePath boolAsInt `json:"preserve_path"` BlockExploits boolAsInt `json:"block_exploits"` AdvancedConfig string `json:"advanced_config"` Enabled boolAsInt `json:"enabled"` // contains filtered or unexported fields }
type RedirectionHostCollection ¶ added in v0.0.17
type RedirectionHostCollection []RedirectionHost
type Stream ¶ added in v0.0.18
type Stream struct { IncomingPort uint16 `json:"incoming_port"` ForwardingHost string `json:"forwarding_host"` ForwardingPort uint16 `json:"forwarding_port"` TCPForwarding boolAsInt `json:"tcp_forwarding"` UDPForwarding boolAsInt `json:"udp_forwarding"` Enabled boolAsInt `json:"enabled"` // contains filtered or unexported fields }
type StreamCollection ¶ added in v0.0.18
type StreamCollection []Stream
type User ¶
type User struct { Name string `json:"name"` Nickname string `json:"nickname"` Email string `json:"email"` Avatar string `json:"avatar"` IsDisabled boolAsInt `json:"is_disabled"` Roles []string `json:"roles"` Permissions UserPermissions `json:"permissions"` // contains filtered or unexported fields }
type UserCollection ¶
type UserCollection []User
type UserPermissions ¶
type UserPermissions struct { AccessLists string `json:"access_lists"` Certificates string `json:"certificates"` DeadHosts string `json:"dead_hosts"` ProxyHosts string `json:"proxy_hosts"` RedirectionHosts string `json:"redirection_hosts"` Streams string `json:"streams"` Visibility string `json:"visibility"` UserId int64 `json:"user_id"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.