{"modulePath":"github.com/phravins/devcli","version":"v0.0.0-20261113115145-d9dc390a3d13","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package devserver\n\n## Functions\n\n```go\nfunc Run(info ProjectInfo) error\n```\n\n## Types\n\n```go\ntype LogLine struct {\n\tServerName string\n\tLine       string\n\tIsError    bool\n}\n```\n\n```go\ntype ProjectInfo struct {\n\tType    ProjectType\n\tServers []ServerConfig\n}\n```\n\n```go\nfunc Detect(path string) ProjectInfo\n```\n\n```go\ntype ProjectType string\n```\n\n```go\nconst (\n\tTypeNode      ProjectType = \"Node.js\"\n\tTypeExpress   ProjectType = \"Express\"\n\tTypeNextJS    ProjectType = \"Next.js\"\n\tTypeNestJS    ProjectType = \"Nest.js\"\n\tTypeAngular   ProjectType = \"Angular\"\n\tTypeVue       ProjectType = \"Vue.js\"\n\tTypePython    ProjectType = \"Python\"\n\tTypeGo        ProjectType = \"Go\"\n\tTypeDjango    ProjectType = \"Django\"\n\tTypeFastAPI   ProjectType = \"FastAPI\"\n\tTypeFlask     ProjectType = \"Flask\"\n\tTypeReact     ProjectType = \"React\"\n\tTypeVite      ProjectType = \"Vite\"\n\tTypeWebpack   ProjectType = \"Webpack\"\n\tTypeSpring    ProjectType = \"Spring Boot\"\n\tTypeFullstack ProjectType = \"Fullstack\"\n\tTypeUnknown   ProjectType = \"Unknown\"\n)\n```\n\n```go\ntype Runner struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewRunner() *Runner\n```\n\n```go\nfunc (r *Runner) GetLogChannel() \u003c-chan LogLine\n```\n\n```go\nfunc (r *Runner) IsRunning() bool\n```\n\n```go\nfunc (r *Runner) Start(info ProjectInfo) error\n```\n\n```go\nfunc (r *Runner) Stop()\n```\n\n```go\ntype ServerConfig struct {\n\tName string\n\tType ProjectType\n\tCmd  string\n\tArgs []string\n\tDir  string\n}\n```\n\n","path":"github.com/phravins/devcli/internal/devserver","name":"devserver","synopsis":"","isRedistributable":true}
