Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerConn ¶
func NewServerConn(ctx context.Context) (*ftp.ServerConn, error)
NewServerConn returns a new ftp server connection with default options.
func NewServerConnWithConfigPath ¶
NewServerConnWithConfigPath returns a new ftp server connection with options from config path.
func NewServerConnWithOptions ¶
NewServerConnWithOptions returns a new ftp server connection with options.
Types ¶
type Options ¶
Options ftp server connection options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
Click to show internal directories.
Click to hide internal directories.