utils

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IsChildEnv     = "GOUTILS_IS_CHILD_PROCESS"
	IsChildProcess = "GOUTILS_IS_CHILD_PROCESS=true"
)

Variables

This section is empty.

Functions

func MakeDirs added in v0.0.4

func MakeDirs(dirs ...string)

func PathIsExist

func PathIsExist(path string) (bool, error)

Types

type Daemon added in v0.0.4

type Daemon struct {
	// contains filtered or unexported fields
}

func NewDaemon added in v0.0.4

func NewDaemon() *Daemon

func (*Daemon) Run added in v0.0.4

func (that *Daemon) Run()

func (*Daemon) SetScriptName added in v0.0.4

func (that *Daemon) SetScriptName(batName string)

for windows

func (*Daemon) SetWorkdir added in v0.0.4

func (that *Daemon) SetWorkdir(d string)

for windows

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL