Discover Packages
github.com/hawell/z42
internal
server
package
Version:
v0.0.0-...-4d64e5c
Opens a new window with list of versions in this module.
Published: Jul 27, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ServerConfig struct {
Ip string `json:"ip"`
Port int `json:"port"`
Protocol string `json:"protocol"`
Count int `json:"count"`
Tls TlsConfig `json:"tls"`
}
type TlsConfig struct {
Enable bool `json:"enable"`
CertPath string `json:"cert_path"`
KeyPath string `json:"key_path"`
CaPath string `json:"ca_path"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.