Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProjectName = "conspirator" ProjectLicense = "apache2.0" )
Project
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { Domain string `json:"domain"` PublicAddress string `json:"publicAddress"` LogLevel string `json:"logLevel"` PollingEncoding string `json:"pollingEncoding"` MaxPollingEvents int `json:"maxPollingEvents"` HTTP HTTPConfiguration `json:"http"` DNS DNSConfiguration `json:"dns"` PluginsDirectory string `json:"pluginsDirectory"` Plugin Plugins `json:"plugins"` }
type DNSConfiguration ¶
type DNSConfiguration struct { Zones []string `json:"zones"` Listeners []DNSListeners `json:"listeners"` }
type DNSListeners ¶
type DNSListeners struct { Address string `json:"address"` Proto string `json:"proto"` Port int `json:"port"` TLS *DNSTransportSecurity `json:"tls,omitempty"` }
type DNSTransportSecurity ¶
type ExtensionPlugins ¶ added in v0.2.0
type ExtensionPlugins struct {
PollingServer *polling.PollingServer
}
ExtensionPlugins
type HTTPConfiguration ¶
type HTTPConfiguration struct { EnableV2 bool `json:"enableV2"` Username string `json:"username"` Password string `json:"password"` CsrfKey string `json:"csrfKey"` SigningKey string `json:"signingKey"` TemplatePath string `json:"templatePath"` Listeners []HTTPListeners `json:"listeners"` Static HTTPStaticConfigurration `json:"static"` }
type HTTPListeners ¶
type HTTPListeners struct { Address string `json:"address"` PollingSubdomain string `json:"pollingSubdomain"` AllowList []string `json:"allowlist"` Port int `json:"port"` TLS HTTPTransportSecurity `json:"tls"` }
type HTTPStaticConfigurration ¶ added in v0.2.0
type HTTPTransportSecurity ¶
Click to show internal directories.
Click to hide internal directories.