MCPcopy Create free account
hub / github.com/AlistGo/auth / initVar

Function initVar

app/setup.go:9–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func initVar() {
10 // client
11 aliOpenClientID = os.Getenv("ALI_OPEN_CLIENT_ID")
12 aliOpenClientSecret = os.Getenv("ALI_OPEN_CLIENT_SECRET")
13 baiduClientId = os.Getenv("BAIDU_CLIENT_ID")
14 baiduClientSecret = os.Getenv("BAIDU_CLIENT_SECRET")
15 dropboxClientID = os.Getenv("DROPBOX_CLIENT_ID")
16 dropboxClientSecret = os.Getenv("DROPBOX_CLIENT_SECRET")
17 appID115 = os.Getenv("APP_ID_115")
18}
19
20func Setup(g *gin.RouterGroup) {
21 initVar()

Callers 1

SetupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected