This commit is contained in:
chermack
2026-07-26 00:09:57 +08:00
commit 059be96536
134 changed files with 19678 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package cmd
import (
"github.com/spf13/cobra"
"trojan/trojan"
)
// stopCmd represents the stop command
var stopCmd = &cobra.Command{
Use: "stop",
Short: "停止trojan",
Run: func(cmd *cobra.Command, args []string) {
trojan.Stop()
},
}
func init() {
rootCmd.AddCommand(stopCmd)
}