msgtransfer

package
v3.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start added in v3.7.0

func Start(ctx context.Context, index int, config *Config) error

Types

type Config added in v3.7.0

type Config struct {
	MsgTransfer    config.MsgTransfer
	RedisConfig    config.Redis
	MongodbConfig  config.Mongo
	KafkaConfig    config.Kafka
	Share          config.Share
	WebhooksConfig config.Webhooks
	Discovery      config.Discovery
}

type ContextMsg

type ContextMsg struct {
	// contains filtered or unexported fields
}

type MsgTransfer

type MsgTransfer struct {
	// contains filtered or unexported fields
}

func (*MsgTransfer) Start

func (m *MsgTransfer) Start(index int, config *Config) error

type OnlineHistoryMongoConsumerHandler

type OnlineHistoryMongoConsumerHandler struct {
	// contains filtered or unexported fields
}

func NewOnlineHistoryMongoConsumerHandler

func NewOnlineHistoryMongoConsumerHandler(kafkaConf *config.Kafka, database controller.CommonMsgDatabase) (*OnlineHistoryMongoConsumerHandler, error)

func (OnlineHistoryMongoConsumerHandler) Cleanup

func (*OnlineHistoryMongoConsumerHandler) ConsumeClaim

func (OnlineHistoryMongoConsumerHandler) Setup

type OnlineHistoryRedisConsumerHandler

type OnlineHistoryRedisConsumerHandler struct {
	// contains filtered or unexported fields
}

func NewOnlineHistoryRedisConsumerHandler

func NewOnlineHistoryRedisConsumerHandler(kafkaConf *config.Kafka, database controller.CommonMsgDatabase,
	conversationRpcClient *rpcclient.ConversationRpcClient, groupRpcClient *rpcclient.GroupRpcClient) (*OnlineHistoryRedisConsumerHandler, error)

func (*OnlineHistoryRedisConsumerHandler) Cleanup

func (*OnlineHistoryRedisConsumerHandler) ConsumeClaim

func (*OnlineHistoryRedisConsumerHandler) Setup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL