config

package
v0.0.0-...-efd9455 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CassandraConfig

type CassandraConfig struct {
	xcql.CassandraConfig
	DBDatabase                 string
	SingleChatMsgTableName     string
	SuperGroupChatMsgTableName string
}

type Config

type Config struct {
	service.ServiceConf
	Kafka      KafkaConfig
	Redis      RedisConfig
	Cassandra  CassandraConfig
	MsgPushRpc zrpc.RpcClientConf
}

type KafkaConfig

type KafkaConfig struct {
	Online         KafkaConfigOnline
	Offline        xkafka.ProducerConfig
	SinglePush     xkafka.ProducerConfig
	SuperGroupPush xkafka.ProducerConfig
}

type KafkaConfigOnline

type KafkaConfigOnline struct {
	xkafka.ProducerConfig
	MsgToCassandraGroupID string
}

type RedisConfig

type RedisConfig struct {
	Conf redis.RedisConf
	DB   int
}

Jump to

Keyboard shortcuts

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