소스 검색

add redis config

davy66666 1 개월 전
부모
커밋
b1ad7d0655
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 3
      etc/rtc.yaml
  2. 2 2
      internal/config/config.go

+ 3 - 3
etc/rtc.yaml

@@ -29,8 +29,8 @@ rpc:
       - 11200
 
 rtc:
-  url:
+  Url:
     - ws://localhost:7880 # External Address
   # innerUrl: ws://localhost:7880 # Internal Address
-  apiKey: "APIGPxHjU9iCgGo"
-  apiSecret: "5XsotiNCkAkW2nrGeAt48aWxnwHjAnrX1aeRFo9tuKI"
+  ApiKey: "APIGPxHjU9iCgGo"
+  ApiSecret: "5XsotiNCkAkW2nrGeAt48aWxnwHjAnrX1aeRFo9tuKI"

+ 2 - 2
internal/config/config.go

@@ -13,6 +13,6 @@ type Config struct {
 
 type Rtc struct {
 	Url       string
-	apiKey    string
-	apiSecret string
+	ApiKey    string
+	ApiSecret string
 }