resource

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WaitToBrokerDialogueChan chan *pb.PushDialogue
	WaitToBrokerSignalChan   chan *pb.PushSignal
)
View Source
var (
	LogicClient pb.LogicDealerClient
	Hub         *model.BizHub
)

------broker-------

View Source
var (
	BrokerHub *model.BrokerHub
)
View Source
var (
	MySQLClient *gorm.DB
)

-------logic-------

Functions

func CreateGrpcClientConn

func CreateGrpcClientConn(addr string, maxRetryCount uint, timeout time.Duration) (*grpc.ClientConn, error)

func InitBrokerHub

func InitBrokerHub()

func InitBrokerResource

func InitBrokerResource()

func InitLogicChan

func InitLogicChan()

func InitLogicResource

func InitLogicResource()

func InitMySQL

func InitMySQL()

Types

This section is empty.

Jump to

Keyboard shortcuts

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