 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package server is a sponge UI service that contains the front-end pages.
Index ¶
- Variables
- func CompressPathToZip(outPath, targetFile string) error
- func GenerateCode(c *gin.Context)
- func GetRecord(c *gin.Context)
- func GetTemplateInfo(c *gin.Context)
- func ListDbDrivers(c *gin.Context)
- func ListTables(c *gin.Context)
- func NewRouter(spongeAddr string, isLog bool) *gin.Engine
- func RunHTTPServer(spongeAddr string, port int, isLog bool)
- func UploadFiles(c *gin.Context)
- type GenerateCodeForm
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ConfigJsFile = "static/appConfig.js"
    Functions ¶
func CompressPathToZip ¶
CompressPathToZip compressed directory to zip file
func RunHTTPServer ¶
RunHTTPServer run http server
Types ¶
type GenerateCodeForm ¶
type GenerateCodeForm struct {
	Arg  string `json:"arg" binding:"required"`
	Path string `json:"path" binding:"required"`
}
    GenerateCodeForm generate code form
 Click to show internal directories. 
   Click to hide internal directories.