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: 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
	PushType string `json:",default=jpns,options=jpns|mobpush"`
	//MsgGatewayEtcd discov.EtcdConf
	Jpns                   JpnsConf
	MsgGatewayRpc          discov.EtcdConf
	ImUserRpc              zrpc.RpcClientConf
	SinglePushConsumer     SinglePushConsumerConfig
	SuperGroupPushConsumer SuperGroupPushConsumerConfig
	MsgGatewayRpcK8sTarget string `json:",optional"`
}

type JpnsConf

type JpnsConf struct {
	PushIntent     string
	PushUrl        string
	AppKey         string
	MasterSecret   string
	ApnsProduction bool `json:",default=false"`
}

type SinglePushConsumerConfig

type SinglePushConsumerConfig struct {
	xkafka.ProducerConfig
	SinglePushGroupID string
}

type SuperGroupPushConsumerConfig

type SuperGroupPushConsumerConfig struct {
	xkafka.ProducerConfig
	SuperGroupPushGroupID string
}

Jump to

Keyboard shortcuts

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