package
Version:
v0.0.0-...-0f8884b
Opens a new window with list of versions in this module.
Published: Mar 24, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Config() *tomlConfig
type Dts struct {
Name string `json:"name"`
Broker string `json:"broker"`
User string `json:"user"`
Password string `json:"password"`
GroupId string `json:"groupid"`
Topic string `json:"topic"`
}
type Etcd struct {
Endpoints []string `json:"endpoints"`
Username string `json:"username"`
Password string `json:"password"`
}
type Http struct {
Port int `json:"port"`
}
type Log struct {
Level string `json:"level"`
LogPath string `json:"logPath"`
RotateDaily bool `json:"rotateDaily"`
Rotate bool `json:"rotate"`
}
日志配置文件
Source Files
¶
Click to show internal directories.
Click to hide internal directories.