Documentation ¶
Index ¶
- type Executer
- func (e *Executer) ExecuteWithTimeout(mSeconds int, command string, args []string) ([]byte, error)
- func (e *Executer) FileWriteString(f *os.File, s string) (n int, err error)
- func (e *Executer) FilepathGlob(pattern string) (matches []string, err error)
- func (e *Executer) IoutilReadDir(dirname string) ([]os.FileInfo, error)
- func (e *Executer) IoutilReadFile(filename string) ([]byte, error)
- func (e *Executer) OsOpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
- func (e *Executer) OsReadlink(name string) (string, error)
- type ExecuterInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executer ¶
type Executer struct { }
func (*Executer) ExecuteWithTimeout ¶
func (*Executer) FileWriteString ¶
func (*Executer) FilepathGlob ¶
func (*Executer) IoutilReadDir ¶
func (*Executer) IoutilReadFile ¶
func (*Executer) OsOpenFile ¶
type ExecuterInterface ¶
type ExecuterInterface interface { ExecuteWithTimeout(mSeconds int, command string, args []string) ([]byte, error) OsOpenFile(name string, flag int, perm os.FileMode) (*os.File, error) OsReadlink(name string) (string, error) FilepathGlob(pattern string) (matches []string, err error) IoutilReadDir(dirname string) ([]os.FileInfo, error) IoutilReadFile(filename string) ([]byte, error) FileWriteString(f *os.File, s string) (n int, err error) }
Click to show internal directories.
Click to hide internal directories.