internal

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Html404Template string

Functions

func BuildTemplate

func BuildTemplate(templateContent string, data interface{}) string

func CORSMiddleware added in v0.4.0

func CORSMiddleware() gin.HandlerFunc

func CreateEngine added in v0.3.0

func CreateEngine(dir string, isDisableCors bool) *gin.Engine

func CreateLocalListener added in v0.3.0

func CreateLocalListener() (net.Listener, int, error)

func Error

func Error(err error) string

func Listen added in v0.3.0

func Listen(handler *gin.Engine, isHttps bool) error

func ReadPath

func ReadPath(dir, path string) (string, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL