rpcconfig

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	zrpc.RpcServerConf
	SinglePushConsumer SinglePushConsumerConfig
	GroupPushConsumer  GroupPushConsumerConfig
	ImUserRpc          zrpc.RpcClientConf
	MsgPushRpc         zrpc.RpcClientConf
	Producer           KafkaConfig
}

type GroupPushConsumerConfig

type GroupPushConsumerConfig struct {
	xkafka.ProducerConfig
	GroupPushGroupID string `json:",optional"`
}

func (GroupPushConsumerConfig) GetGroupID

func (s GroupPushConsumerConfig) GetGroupID() string

type KafkaConfig

type KafkaConfig struct {
	SinglePush xkafka.ProducerConfig
	GroupPush  xkafka.ProducerConfig
}

type SinglePushConsumerConfig

type SinglePushConsumerConfig struct {
	xkafka.ProducerConfig
	SinglePushGroupID string `json:",optional"`
}

func (SinglePushConsumerConfig) GetGroupID

func (s SinglePushConsumerConfig) GetGroupID() string

Jump to

Keyboard shortcuts

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