Documentation ¶
Index ¶
- type Client
- type Clients
- type Config
- type Connection
- func (conn *Connection) Disconnect()
- func (conn *Connection) Host() string
- func (conn *Connection) NewSession() (*Session, error)
- func (conn *Connection) Port() int
- func (conn *Connection) ReadStream(ctx context.Context, cmd string) (*Stream, error)
- func (conn *Connection) Run(cmd string) error
- func (conn *Connection) Username() string
- type Crypto
- type Logger
- type Session
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func (*Connection) Disconnect ¶
func (conn *Connection) Disconnect()
func (*Connection) Host ¶
func (conn *Connection) Host() string
func (*Connection) NewSession ¶
func (conn *Connection) NewSession() (*Session, error)
func (*Connection) Port ¶
func (conn *Connection) Port() int
func (*Connection) ReadStream ¶
func (*Connection) Run ¶
func (conn *Connection) Run(cmd string) error
func (*Connection) Username ¶
func (conn *Connection) Username() string
Click to show internal directories.
Click to hide internal directories.