models

package
v0.0.0-...-2b5ea0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ArgAddress         = Argument{Long: "address", Short: "a", Help: "Connection address for the FTP server (e.g. ftp.example.com:21)"}
	ArgUser            = Argument{Long: "user", Short: "u", Help: "Username for the FTP server user"}
	ArgPassword        = Argument{Long: "password", Short: "p", Help: "Password for the FTP server user"}
	ArgVerbose         = Argument{Long: "verbose", Short: "v", Help: "Verbose output"}
	ArgTLSCertFilePath = Argument{Long: "tls-cert", Help: "Path to TLS certificate file"}
	ArgTLSKeyFilePath  = Argument{Long: "tls-key", Help: "Path to TLS key file"}
	ArgTLSInsecure     = Argument{Long: "tls-insecure", Help: "Skip TLS certificate verification"}

	ArgRecursive = Argument{Long: "recursive", Short: "r"}
)

Functions

func SortTypeToDomain

func SortTypeToDomain(sortType SortType) (entities.SortType, error)

Types

type Argument

type Argument struct {
	Long  string
	Short string
	Help  string
}

type SortType

type SortType string
const (
	SortTypeName SortType = "NAME"
	SortTypeSize SortType = "SIZE"
	SortTypeDate SortType = "DATE"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL