Documentation ¶
Index ¶
- func New(opts ...Opt) (it.Transport, error)
- func WithContext(ctx context.Context) func(*transport)
- func WithHost(h string) func(*transport)
- func WithKey(k string) func(*transport)
- func WithKeyPath(p string) func(*transport)
- func WithPassphrase(p string) func(*transport)
- func WithPassphrasePath(p string) func(*transport)
- func WithPassword(p string) func(*transport)
- func WithPort(p string) func(*transport)
- func WithUser(u string) func(*transport)
- type Opt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContext ¶
WithContext sets the context to use when initializing the resources.
func WithPassphrase ¶
func WithPassphrase(p string) func(*transport)
WithPassphrase sets the key passphrase.
func WithPassphrasePath ¶
func WithPassphrasePath(p string) func(*transport)
WithPassphrasePath sets the key passphrase path.
Types ¶
Click to show internal directories.
Click to hide internal directories.