Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Host string
Port int
User string
Password string
KeyFile string
Timeout time.Duration
}
Config holds SSH connection configuration.
type Option ¶
type Option func(*Pool)
Option configures the Pool.
func WithIdleTimeout ¶
WithIdleTimeout sets the idle timeout for connections.
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool manages a pool of SSH connections.
Click to show internal directories.
Click to hide internal directories.