Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
Listen string `json:"listen"`
PrivateKey string `json:"privatekey"`
PublicCert string `json:"publiccert"`
CaCert string `json:"cacert"`
// StaPath string `json:"stapath"`
DB string `json:"dbpath"`
ServiceName string `json:"servicename"`
ServiceFullName string `json:"servicefullname"`
LogLevel string `json:"loglevel"`
LogPath string `json:"logpath"`
EzbPki string `json:"ezb_pki"`
ReportCaller bool `json:"reportcaller"`
JsonToStdout bool `json:"jsonstdout"`
SAN []string `json:"san"`
}
func CheckConfig ¶
func CheckConfig(isIntSess bool, exPath string) (conf Configuration, err error)
Click to show internal directories.
Click to hide internal directories.