Documentation
¶
Overview ¶
* @Date: 2021-06-30 20:36:39 * @LastEditors: wangjun haodreams@163.com * @LastEditTime: 2024-12-18 13:23:02 * @FilePath: \golib\env\env.go * @Description:
Index ¶
- func CreateListenerTCP() (listener *net.TCPListener, err error)
- func Init(configPath ...string) (conf config.Configer)
- func InitDefault(conf config.Configer)
- func LoadConfig(path string) (conf config.Configer)
- func Reset()
- func ResetCurrentDir()
- func SetLogPath(path string)
- func Setup(confPath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateListenerTCP ¶
func CreateListenerTCP() (listener *net.TCPListener, err error)
*
- @description: 创建TCP listener 服务
- @return {*}
func LoadConfig ¶
func SetLogPath ¶
func SetLogPath(path string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.