Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProjectInfo ¶
type ProjectInfo struct {
Type ProjectType
Servers []ServerConfig
}
func Detect ¶
func Detect(path string) ProjectInfo
type ProjectType ¶
type ProjectType string
const ( TypeNode ProjectType = "Node.js" TypeExpress ProjectType = "Express" TypeNextJS ProjectType = "Next.js" TypeNestJS ProjectType = "Nest.js" TypeAngular ProjectType = "Angular" TypeVue ProjectType = "Vue.js" TypePython ProjectType = "Python" TypeGo ProjectType = "Go" TypeDjango ProjectType = "Django" TypeFastAPI ProjectType = "FastAPI" TypeFlask ProjectType = "Flask" TypeReact ProjectType = "React" TypeVite ProjectType = "Vite" TypeWebpack ProjectType = "Webpack" TypeSpring ProjectType = "Spring Boot" TypeFullstack ProjectType = "Fullstack" TypeUnknown ProjectType = "Unknown" )
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) GetLogChannel ¶
func (*Runner) Start ¶
func (r *Runner) Start(info ProjectInfo) error
type ServerConfig ¶
type ServerConfig struct {
Name string // "Backend", "Frontend", or "Server"
Type ProjectType
Cmd string
Args []string
Dir string // Working directory for this server
}
Click to show internal directories.
Click to hide internal directories.