Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformUploadFile ¶
func PerformUploadFile(ctx context.Context, logger logging.Logger, deps *Dependencies, input *CmdUploadInput) (err error)
Types ¶
type CmdUploadInput ¶
type CmdUploadInput struct { Config ftpclient.ConnectorConfig FilePath string RemoteFilePath string Recursive bool }
type Dependencies ¶
type Dependencies struct { Connector ftpclient.Connector Filesystem fs.FS UploadUseCase ftp.UploadFileUseCase MkdirUseCase ftp.MkdirUseCase }
Click to show internal directories.
Click to hide internal directories.