Documentation
¶
Index ¶
- Constants
- func CreateProject(ctx cli.Context, opts Options) error
- func EnsureTargetDoesNotExist(path string) error
- func EnsureWebSocket(root string) error
- func ProjectDirs() []string
- func ValidateProjectName(name string) error
- func VerifyProject(root string, opts Options) error
- func WriteDirs(root string, dirs []string) error
- func WriteFiles(root string, files []File) error
- type File
- type Options
Constants ¶
View Source
const WebSocketIndexSource = `` /* 366-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func EnsureWebSocket ¶
EnsureWebSocket creates the optional entrypoint without overwriting user code.
func ProjectDirs ¶
func ProjectDirs() []string
func ValidateProjectName ¶
func VerifyProject ¶
func WriteFiles ¶
Types ¶
type File ¶
func ProjectFiles ¶
Click to show internal directories.
Click to hide internal directories.