packet name pb

This commit is contained in:
withchao
2023-03-16 10:46:06 +08:00
parent 8437c9a38b
commit 17de3e7927
208 changed files with 25300 additions and 15564 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
package fcm
import (
"OpenIM/internal/push/offlinepush"
"OpenIM/pkg/common/config"
"OpenIM/pkg/common/constant"
"OpenIM/pkg/common/db/cache"
"context"
firebase "firebase.google.com/go"
"firebase.google.com/go/messaging"
"github.com/OpenIMSDK/Open-IM-Server/internal/push/offlinepush"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/constant"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/cache"
"github.com/go-redis/redis/v8"
"google.golang.org/api/option"
"path/filepath"
+2 -2
View File
@@ -1,9 +1,9 @@
package fcm
import (
"OpenIM/internal/push/offlinepush"
"OpenIM/pkg/common/db/cache"
"context"
"github.com/OpenIMSDK/Open-IM-Server/internal/push/offlinepush"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/cache"
"github.com/stretchr/testify/assert"
"testing"
)
+1 -1
View File
@@ -1,8 +1,8 @@
package getui
import (
"OpenIM/pkg/common/config"
"fmt"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
type Resp struct {
+8 -8
View File
@@ -1,21 +1,21 @@
package getui
import (
"OpenIM/internal/push/offlinepush"
"OpenIM/pkg/common/config"
"OpenIM/pkg/common/db/cache"
http2 "OpenIM/pkg/common/http"
"OpenIM/pkg/common/log"
"OpenIM/pkg/common/tracelog"
"OpenIM/pkg/utils/splitter"
"github.com/OpenIMSDK/Open-IM-Server/internal/push/offlinepush"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/cache"
http2 "github.com/OpenIMSDK/Open-IM-Server/pkg/common/http"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/tracelog"
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils/splitter"
"github.com/go-redis/redis/v8"
"sync"
"OpenIM/pkg/utils"
"context"
"crypto/sha256"
"encoding/hex"
"errors"
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
"strconv"
"time"
)
@@ -1,7 +1,7 @@
package body
import (
"OpenIM/pkg/common/config"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
type Notification struct {
@@ -1,8 +1,8 @@
package body
import (
"OpenIM/pkg/common/constant"
"errors"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/constant"
)
const (
+4 -4
View File
@@ -1,13 +1,13 @@
package jpush
import (
"OpenIM/internal/push/offlinepush"
"OpenIM/internal/push/offlinepush/jpush/body"
"OpenIM/pkg/common/config"
http2 "OpenIM/pkg/common/http"
"context"
"encoding/base64"
"fmt"
"github.com/OpenIMSDK/Open-IM-Server/internal/push/offlinepush"
"github.com/OpenIMSDK/Open-IM-Server/internal/push/offlinepush/jpush/body"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
http2 "github.com/OpenIMSDK/Open-IM-Server/pkg/common/http"
)
type JPush struct{}