{"modulePath":"github.com/linuxsuren/api-testing","version":"v0.0.21","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\nPackage cmd provides all the commands\n\n## Functions\n\n```go\nfunc FuncDescription(f interface{}) (desc string)\n```\nGet description of a func\n\n```go\nfunc FuncName(f interface{}) string\n```\nGet the name of a func (with package path)\n\n```go\nfunc FuncPathAndName(f interface{}) string\n```\nGet the name and path of a func\n\n```go\nfunc NewFakeGRPCServer() gRPCServer\n```\nNewFakeGRPCServer creates a fake gRPC server\n\n```go\nfunc NewRootCmd(execer fakeruntime.Execer, httpServer server.HTTPServer) (c *cobra.Command)\n```\nNewRootCmd creates the root command\n\n## Types\n\n```go\ntype Action string\n```\n\n```go\nconst (\n\tActionInstall   Action = \"install\"\n\tActionUninstall Action = \"uninstall\"\n\tActionStart     Action = \"start\"\n\tActionStop      Action = \"stop\"\n\tActionRestart   Action = \"restart\"\n\tActionStatus    Action = \"status\"\n)\n```\n\n","path":"github.com/linuxsuren/api-testing/cmd","name":"cmd","synopsis":"Package cmd provides all the commands","isRedistributable":true}
