sftpgo/main.go

21 lines
521 B
Go
Raw Normal View History

2019-07-30 18:51:29 +00:00
// Full featured and highly configurable SFTP server.
// For more details about features, installation, configuration and usage please refer to the README inside the source tree:
// https://github.com/drakkan/sftpgo/blob/master/README.md
2019-07-20 10:26:52 +00:00
package main // import "github.com/drakkan/sftpgo"
import (
"fmt"
"go.uber.org/automaxprocs/maxprocs"
"github.com/drakkan/sftpgo/cmd"
)
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
}