feat(app): update
This commit is contained in:
@ -1,12 +1,13 @@
|
||||
package mq_http
|
||||
|
||||
import (
|
||||
"servicebase/pkg/htools"
|
||||
"servicebase/pkg/partner/mq/message"
|
||||
"servicebase/pkg/partner/mq/pusher"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/htools"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/pusher"
|
||||
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
|
||||
@ -1,14 +1,15 @@
|
||||
package mq
|
||||
|
||||
import (
|
||||
"servicebase/pkg/common/HyTools"
|
||||
mq_http "servicebase/pkg/partner/mq/http"
|
||||
message2 "servicebase/pkg/partner/mq/message"
|
||||
"servicebase/pkg/partner/mq/pusher"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/common/HyTools"
|
||||
mq_http "gitea.ddegame.cn/open/servicebase/pkg/partner/mq/http"
|
||||
message2 "gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/pusher"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package pusher
|
||||
|
||||
import "servicebase/pkg/partner/mq/message"
|
||||
import "gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
|
||||
|
||||
type PushClient interface {
|
||||
PushRegisterMessage(m message.RegisterMessage) (e error)
|
||||
|
||||
@ -1,15 +1,16 @@
|
||||
package rocket
|
||||
|
||||
import (
|
||||
"servicebase/pkg/common"
|
||||
"servicebase/pkg/partner/mq/message"
|
||||
"servicebase/pkg/partner/mq/pusher"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/common"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/pusher"
|
||||
|
||||
"github.com/anxpp/beego/logs"
|
||||
"github.com/apache/rocketmq-client-go/v2"
|
||||
"github.com/apache/rocketmq-client-go/v2/primitive"
|
||||
|
||||
@ -1,11 +1,12 @@
|
||||
package mq
|
||||
|
||||
import (
|
||||
"servicebase/pkg/common"
|
||||
"servicebase/pkg/partner/mq/message"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/common"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/partner/mq/message"
|
||||
|
||||
"github.com/anxpp/beego"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user