mirror of
https://github.com/certimate-go/certimate.git
synced 2026-08-30 18:01:43 +08:00
19 lines
212 B
Go
19 lines
212 B
Go
package ftp
|
|
|
|
const (
|
|
defaultPort int = 21
|
|
)
|
|
|
|
type Config struct {
|
|
Host string
|
|
Port int
|
|
Username string
|
|
Password string
|
|
}
|
|
|
|
func NewDefaultConfig() *Config {
|
|
return &Config{
|
|
Port: defaultPort,
|
|
}
|
|
}
|