mirror of
https://github.com/skyle1995/NetworkAuth.git
synced 2026-05-25 02:24:05 +08:00
New warehouse
This commit is contained in:
13
server/home.go
Normal file
13
server/home.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"networkDev/controllers/home"
|
||||
)
|
||||
|
||||
// RegisterHomeRoutes 注册主页路由
|
||||
// 只包含根路径,用于主页功能
|
||||
func RegisterHomeRoutes(mux *http.ServeMux) {
|
||||
// 根路径 - 主页
|
||||
mux.HandleFunc("/", home.RootHandler)
|
||||
}
|
||||
Reference in New Issue
Block a user