resource

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogicClient pb.LogicDealerClient
	Hub         *model.BizHub
)

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

View Source
var (
	WaitToBrokerDialogueChan chan *pb.PushDialogue
	WaitToBrokerSignalChan   chan *pb.PushSignal
)
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 InitBrokerResource

func InitBrokerResource()

################## init #################################

func InitLogicResource

func InitLogicResource()

################## init #################################

Types

This section is empty.

Jump to

Keyboard shortcuts

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