Documentation ¶
Index ¶
- Variables
- func CloseAndWait(stop, closed chan bool, timeout time.Duration) error
- func Contains(a []string, x string) bool
- func CreateFileUploadRequest(uri string, params map[string]string, paramName, path string, ...) (*http.Request, error)
- func Err(f string, args ...interface{}) error
- func GetFilenameExtension(path string) (ext string)
- func GetPwd() string
- func GetTag() string
- func GetWorkPath() string
- func Sprintf(f string, args ...interface{}) string
- type ExecCmd
- type LogConsole
- type ProgressReader
- type ProgressWriter
- type SSH
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CancelCommandTimeout = 25 * time.Second
)
Functions ¶
func CreateFileUploadRequest ¶
func GetFilenameExtension ¶
func GetWorkPath ¶
func GetWorkPath() string
Types ¶
type LogConsole ¶
func NewLogConsole ¶
func NewLogConsole(write chan []byte, logPath string) *LogConsole
func (*LogConsole) Close ¶
func (console *LogConsole) Close() error
type ProgressReader ¶
type ProgressWriter ¶
Click to show internal directories.
Click to hide internal directories.