@@ -9,15 +9,15 @@ import (
9
9
var cfg * Config
10
10
11
11
type Config struct {
12
- Port string `yaml:"port"`
13
- HttpsInfo * httpsInfo `yaml:"https_info"`
14
- HarsPath string `yaml:"hars_path"`
15
- ProxyUrl string `yaml:"proxy_url"`
16
- Gemini * gemini `yaml:"google_gemini"`
17
- Arkose * arkose `yaml:"arkose"`
18
- Bing * bing `yaml:"bing"`
19
- Coze * coze `yaml:"coze"`
20
- Claude * claude `yaml:"claude"`
12
+ Port string `yaml:"port"`
13
+ HttpsInfo httpsInfo `yaml:"https_info"`
14
+ HarsPath string `yaml:"hars_path"`
15
+ ProxyUrl string `yaml:"proxy_url"`
16
+ Gemini gemini `yaml:"google_gemini"`
17
+ Arkose arkose `yaml:"arkose"`
18
+ Bing bing `yaml:"bing"`
19
+ Coze coze `yaml:"coze"`
20
+ Claude claude `yaml:"claude"`
21
21
}
22
22
23
23
type httpsInfo struct {
@@ -27,9 +27,9 @@ type httpsInfo struct {
27
27
}
28
28
29
29
type gemini struct {
30
- ProxyUrl string `yaml:"proxy_url"`
31
- Model string `yaml:"model"`
32
- ApiKeys []* geminiApiKey `yaml:"api_keys"`
30
+ ProxyUrl string `yaml:"proxy_url"`
31
+ Model string `yaml:"model"`
32
+ ApiKeys []geminiApiKey `yaml:"api_keys"`
33
33
}
34
34
35
35
type geminiApiKey struct {
@@ -50,9 +50,9 @@ type bing struct {
50
50
}
51
51
52
52
type coze struct {
53
- ProxyUrl string `yaml:"proxy_url"`
54
- Discord * cozeDiscord `yaml:"discord"`
55
- ApiChat * cozeApiChat `yaml:"api_chat"`
53
+ ProxyUrl string `yaml:"proxy_url"`
54
+ Discord cozeDiscord `yaml:"discord"`
55
+ ApiChat cozeApiChat `yaml:"api_chat"`
56
56
}
57
57
58
58
type cozeDiscord struct {
@@ -67,8 +67,8 @@ type cozeDiscord struct {
67
67
}
68
68
69
69
type cozeApiChat struct {
70
- AccessToken string `yaml:"access_token"`
71
- Bots []* cozeApiBot `yaml:"bots"`
70
+ AccessToken string `yaml:"access_token"`
71
+ Bots []cozeApiBot `yaml:"bots"`
72
72
}
73
73
74
74
type cozeApiBot struct {
@@ -78,10 +78,10 @@ type cozeApiBot struct {
78
78
}
79
79
80
80
type claude struct {
81
- ProxyUrl string `yaml:"proxy_url"`
82
- ApiVersion string `yaml:"api_version"`
83
- WebSessions []* websession `yaml:"web_sessions"`
84
- ApiKeys []* claudeApiKey `yaml:"api_keys"`
81
+ ProxyUrl string `yaml:"proxy_url"`
82
+ ApiVersion string `yaml:"api_version"`
83
+ WebSessions []websession `yaml:"web_sessions"`
84
+ ApiKeys []claudeApiKey `yaml:"api_keys"`
85
85
}
86
86
87
87
type websession struct {
0 commit comments