Initial support for LLAS

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-05-22 00:41:22 +08:00
parent 5ea8108cd6
commit 28db6fc696
4 changed files with 165 additions and 1 deletions
+4 -1
View File
@@ -9,7 +9,7 @@ import (
func main() {
// Gin
// gin.SetMode(gin.ReleaseMode)
gin.SetMode(gin.ReleaseMode)
// Router
r := gin.Default()
@@ -17,5 +17,8 @@ func main() {
// SIF
router.SifRouter(r)
// AS
router.AsRouter(r)
r.Run(":80") // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
}