()
| 81 | } |
| 82 | |
| 83 | func (f *Ftp) Status() (bool, bool) { |
| 84 | isActive, _ := controller.CheckActive("pure-ftpd.service") |
| 85 | isExist, _ := controller.CheckExist("pure-ftpd.service") |
| 86 | |
| 87 | return isActive, isExist |
| 88 | } |
| 89 | |
| 90 | func (f *Ftp) Operate(operate string) error { |
| 91 | switch operate { |
nothing calls this directly
no test coverage detected