MCPcopy Index your code
hub / github.com/SMNETSTUDIO/Groq2API / main

Function main

main.go:8–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6)
7
8func main() {
9 // 初始化配置
10 initialize.InitConfig()
11 // 初始化缓存
12 initialize.InitCache()
13 // 初始化代理
14 initialize.InitProxy()
15 // 初始化账号
16 initialize.InitAuth()
17 // 初始化路由
18 Router := initialize.InitRouter()
19 if err := Router.Run(global.Host + ":" + global.Port); err != nil {
20 panic(err)
21 }
22}

Callers

nothing calls this directly

Calls 5

InitConfigFunction · 0.92
InitCacheFunction · 0.92
InitProxyFunction · 0.92
InitAuthFunction · 0.92
InitRouterFunction · 0.92

Tested by

no test coverage detected