Documentation
¶
Index ¶
- func DevServer(projectDir string) error
- func InitProject(targetDir string) error
- func ScaffoldBatch(baseDir string, specs []FunctionSpec) error
- func ScaffoldBatchFromFile(baseDir, filePath string) error
- func ScaffoldFunction(baseDir, namespace, functionName string, isMultipart bool, ...) error
- func ScaffoldMiddleware(baseDir, name, description string) error
- type FunctionSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DevServer ¶
DevServer runs the project in development mode with continuous file watching and <200ms restart
func InitProject ¶
InitProject scaffolds a complete, production-ready CellsWeb RPC Go project
func ScaffoldBatch ¶
func ScaffoldBatch(baseDir string, specs []FunctionSpec) error
ScaffoldBatch processes a JSON array of FunctionSpecs
func ScaffoldBatchFromFile ¶
ScaffoldBatchFromFile reads a JSON spec file and scaffolds functions
func ScaffoldFunction ¶
func ScaffoldFunction(baseDir, namespace, functionName string, isMultipart bool, middlewares []string) error
ScaffoldFunction generates the co-located files for an RPC function
func ScaffoldMiddleware ¶
ScaffoldMiddleware generates boilerplate for a reusable middleware
Types ¶
Click to show internal directories.
Click to hide internal directories.