global

package
v0.0.0-...-63ace11 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGlobalRes

func InitGlobalRes()

Types

type MetaSvrGlobalRes

type MetaSvrGlobalRes struct {
	Mut sync.Mutex

	PulsarClient *pulsar.Client
	// contains filtered or unexported fields
}
var (
	GLOBAL_RES *MetaSvrGlobalRes = nil
)

func (*MetaSvrGlobalRes) GetDbPool

func (g *MetaSvrGlobalRes) GetDbPool() *pool.DbPool

func (*MetaSvrGlobalRes) GetDeployLog

func (g *MetaSvrGlobalRes) GetDeployLog(logKey string, result *result.ResultBean)

func (*MetaSvrGlobalRes) GetRedisClusterClient

func (g *MetaSvrGlobalRes) GetRedisClusterClient() *goredis.ClusterClient

func (*MetaSvrGlobalRes) PubErrorLog

func (g *MetaSvrGlobalRes) PubErrorLog(logKey, log string)

func (*MetaSvrGlobalRes) PubFailLog

func (g *MetaSvrGlobalRes) PubFailLog(logKey, log string)

func (*MetaSvrGlobalRes) PubLog

func (g *MetaSvrGlobalRes) PubLog(logKey, log string)

func (*MetaSvrGlobalRes) PubSuccessLog

func (g *MetaSvrGlobalRes) PubSuccessLog(logKey, log string)

Jump to

Keyboard shortcuts

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