Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ LogLevel: "debug", Listen: ":8080", EnableServerTLS: false, Cert: "test/server.crt", Key: "test/server.key", CfAPI: "https://api.cf.aws-cfn02.aws.cfi.sapcloud.io", PcapServerPort: "9494", PcapServerClientCert: "test/client.crt", PcapServerClientKey: "test/client.key", PcapServerCaCert: "test/cacert.pem", PcapServerName: "", PcapServerClientSkipVerify: true, CLIDownloadRoot: "cli/build", }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string `yaml:"log_level"` Listen string `yaml:"listen"` EnableServerTLS bool `yaml:"enable_server_tls"` Cert string `yaml:"cert"` Key string `yaml:"key"` CfAPI string `yaml:"cf_api"` PcapServerPort string `yaml:"pcap_server_port"` PcapServerClientCert string `yaml:"pcap_server_client_cert"` PcapServerClientKey string `yaml:"pcap_server_client_key"` PcapServerCaCert string `yaml:"pcap_server_ca_cert"` PcapServerName string `yaml:"pcap_server_name"` PcapServerClientSkipVerify bool `yaml:"pcap_server_client_skip_verify"` CLIDownloadRoot string `yaml:"cli_download_root"` }
func NewConfigFromFile ¶
Click to show internal directories.
Click to hide internal directories.