Documentation ¶
Index ¶
- Constants
- type Client
- type OutputBuffer
- type Scp
- func (s *Scp) Disconnect() error
- func (s *Scp) Establish() error
- func (s *Scp) Pull(remoteDir, remoteFilename string, localDir, localFilename string, ...) (int64, error)
- func (s *Scp) Push(localDir, localFilename string, remoteDir, remoteFilename string, ...) (int64, error)
- func (s *Scp) Remove(remoteDir, remoteFilename string) error
- type Session
- type Sftp
- func (s *Sftp) Disconnect() error
- func (s *Sftp) Establish() error
- func (s *Sftp) Pull(remoteDir, remoteFilename string, localDir, localFilename string, ...) (int64, error)
- func (s *Sftp) Push(localDir, localFilename string, remoteDir, remoteFilename string, ...) (int64, error)
- func (s *Sftp) Remove(remoteDir, remoteFilename string) error
- type StatCallback
Constants ¶
View Source
const (
ShellExit = "shell_exit"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) NewSession ¶
type OutputBuffer ¶
type OutputBuffer struct {
// contains filtered or unexported fields
}
func NewOutputBuffer ¶
func NewOutputBuffer() *OutputBuffer
func (*OutputBuffer) Shift ¶
func (s *OutputBuffer) Shift() []byte
type Scp ¶
type Scp struct {
// contains filtered or unexported fields
}
func (*Scp) Disconnect ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func (*Session) Disconnect ¶
func (*Session) SetWriteCallback ¶
Click to show internal directories.
Click to hide internal directories.