Documentation
¶
Index ¶
- type FileHandler
- type Msg
- type Option
- type Resp
- func (rsp *Resp) GetMessage() Msg
- func (rsp *Resp) IsDir() bool
- func (rsp *Resp) IsEndDir() bool
- func (rsp *Resp) IsError() bool
- func (rsp *Resp) IsFailure() bool
- func (rsp *Resp) IsFile() bool
- func (rsp *Resp) IsOk() bool
- func (rsp *Resp) IsWarning() bool
- func (rsp *Resp) Write(w io.Writer) error
- func (rsp *Resp) WriteStream(w io.Writer, stream io.Reader) error
- type RespType
- type SCP
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileHandler ¶ added in v1.1.3
type Option ¶ added in v1.1.0
type Option func(s *SCP)
func WithRemoteSShBinaryPath ¶ added in v1.1.0
type SCP ¶
type SCP struct {
// contains filtered or unexported fields
}
func (*SCP) DownloadWithHandler ¶ added in v1.1.3
func (s *SCP) DownloadWithHandler(remote string, local string, handler FileHandler) error
Click to show internal directories.
Click to hide internal directories.