service

package
v0.0.0-...-02b4230 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

*

*
* @author liangjf
* @create on 2020/6/3
* @version 1.0

*

*
* @author liangjf
* @create on 2020/6/3
* @version 1.0

*

*
* @author liangjf
* @create on 2020/6/3
* @version 1.0

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoThisGatewayNode = errors.New("no this gateway node")
)

Functions

func CLoseRpcClient

func CLoseRpcClient()

func GetGatewayRpcClient

func GetGatewayRpcClient(host string) (pb.GatewayClient, error)

func InitGatewayRpcClient

func InitGatewayRpcClient(etcdAddr []string) error

func InitKafkaConsumer

func InitKafkaConsumer(ctx context.Context, brokerAddr []string) error

func StopKafkaConsumer

func StopKafkaConsumer()

Types

This section is empty.

Jump to

Keyboard shortcuts

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