Documentation ¶
Overview ¶
Package xos provides cross-platform helper functions.
Index ¶
- func ArrangeExtraFiles(cmd *exec.Cmd, files ...*os.File) error
- func CreateNewProcessGroup() *syscall.SysProcAttr
- func IsAdminUser() (bool, error)
- func SameSocket(a, b interface{}) bool
- func SocketStat(path string) (interface{}, error)
- func WriteFile(filename string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewProcessGroup ¶
func CreateNewProcessGroup() *syscall.SysProcAttr
func IsAdminUser ¶
func SameSocket ¶
func SameSocket(a, b interface{}) bool
func SocketStat ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.