Documentation ¶
Index ¶
- func AddInheritedFunc(fn func([]*os.File, map[string]string))
- func Append(ln net.Listener) error
- func Listen(nett, addr string) (net.Listener, error)
- func ListenTCP(nett string, addr *net.TCPAddr) (*net.TCPListener, error)
- func ListenUnix(nett string, addr *net.UnixAddr) (*net.UnixListener, error)
- func SetInherited() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInheritedFunc ¶
AddInheritedFunc 添加继承保存方法
func ListenUnix ¶
ListenUnix 监听unix协议
func SetInherited ¶
func SetInherited() error
SetInherited 添加files列表到环境变量,让子进程继承, 1. 只有在reboot使用 2. 不支持windows系统
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.