Documentation
¶
Index ¶
- func Marshal(value interface{}) ([]byte, error)
- func Register()
- func Unmarshal(buf []byte) (interface{}, error)
- type Channel
- type Conn
- func (c *Conn) Blog(format string, args ...interface{}) error
- func (c *Conn) Close() error
- func (c *Conn) OpenChannel(chType string, payload interface{}) (*Channel, error)
- func (c *Conn) RemoteAddr() net.Addr
- func (c *Conn) SendRequest(name string, wantReply bool, payload interface{}) (bool, interface{}, error)
- func (c *Conn) SessionID() string
- type EndOfSources
- type FileAdded
- type FilePatched
- type FileRemoved
- type LogEntry
- type MD5Hash
- type SourceFile
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
func (*Channel) BytesWritten ¶
func (*Channel) CloseWrite ¶
type Conn ¶
type Conn struct {
Conn ssh.Conn
Chans <-chan ssh.NewChannel
Reqs <-chan *ssh.Request
Permissions *ssh.Permissions
// contains filtered or unexported fields
}
func (*Conn) OpenChannel ¶
func (*Conn) RemoteAddr ¶
func (*Conn) SendRequest ¶
type EndOfSources ¶
type EndOfSources struct{}
type FilePatched ¶
type FileRemoved ¶
type FileRemoved struct {
Path string
}
type SourceFile ¶
Click to show internal directories.
Click to hide internal directories.