sftpgo/main.go

26 lines
696 B
Go
Raw Normal View History

// Fully featured and highly configurable SFTP server with optional
// FTP/S and WebDAV support.
// For more details about features, installation, configuration and usage
// please refer to the README inside the source tree:
// https://github.com/drakkan/sftpgo/blob/main/README.md
2019-07-20 10:26:52 +00:00
package main // import "github.com/drakkan/sftpgo"
import (
"fmt"
"go.uber.org/automaxprocs/maxprocs"
2021-06-26 05:31:41 +00:00
"github.com/drakkan/sftpgo/v2/cmd"
2021-07-13 19:17:21 +00:00
_ "github.com/drakkan/sftpgo/v2/kms/aws"
_ "github.com/drakkan/sftpgo/v2/kms/gcp"
_ "github.com/drakkan/sftpgo/v2/kms/vault"
)
2019-07-20 10:26:52 +00:00
func main() {
if undo, err := maxprocs.Set(); err != nil {
fmt.Printf("error setting max procs: %v\n", err)
undo()
}
cmd.Execute()
2019-07-20 10:26:52 +00:00
}