Documentation ¶
Index ¶
- Constants
- func AppFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
- func ConfigFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
- func HandlerFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
- func LoggerPrepareFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
- func MainFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
- func ServerFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
Constants ¶
View Source
const AppStructT = `` /* 2354-byte string literal not displayed */
View Source
const ServerOptionStructT = `` /* 563-byte string literal not displayed */
View Source
const ServerStructT = `` /* 1104-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AppFile ¶
func AppFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
AppFile returns app file
func ConfigFile ¶
func ConfigFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
ConfigFile returns config file
func HandlerFile ¶
func HandlerFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
HandlerFile returns server file
func LoggerPrepareFile ¶
func LoggerPrepareFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
LoggerPrepareFile returns logger prepare file
func MainFile ¶
func MainFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
MainFile returns main file
func ServerFile ¶
func ServerFile(rootPkg, rootDir string, scriptInfo expr.ScriptInfo) []*codegen.File
ServerFile returns server pkg file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.