Documentation
¶
Overview ¶
Package service allows to start and stop the SFTPGo service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { ConfigDir string ConfigFile string LogFilePath string LogMaxSize int LogMaxBackups int LogMaxAge int PortableMode int PortableUser dataprovider.User LogCompress bool LogVerbose bool Profiler bool LoadDataClean bool LoadDataFrom string LoadDataMode int LoadDataQuotaScan int Shutdown chan bool Error error }
Service defines the SFTPGo service
func (*Service) StartPortableMode ¶
func (s *Service) StartPortableMode(sftpdPort, ftpPort, webdavPort int, enabledSSHCommands []string, advertiseService, advertiseCredentials bool, ftpsCert, ftpsKey, webDavCert, webDavKey string) error
StartPortableMode starts the service in portable mode
Click to show internal directories.
Click to hide internal directories.