Documentation ¶
Index ¶
- Variables
- func BuildTemplate(templateContent string, data interface{}) string
- func CORSMiddleware() gin.HandlerFunc
- func CreateEngine(dir string, isDisableCors bool) *gin.Engine
- func CreateLocalListener() (net.Listener, int, error)
- func Error(err error) string
- func Listen(handler *gin.Engine, isHttps bool) error
- func ReadPath(dir, path string) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Html404Template string
Functions ¶
func BuildTemplate ¶
func CORSMiddleware ¶ added in v0.4.0
func CORSMiddleware() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.