Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForSignal ¶
WaitForSignal 等待系统信号并执行回调
Types ¶
type Address ¶
type Address struct {
Network string // 网络类型,如 "tcp"
Address string // 地址,如 ":8080"
Path string // 路径,适用于一些特殊服务器
}
Address 是服务器地址信息
Click to show internal directories.
Click to hide internal directories.