Documentation ¶
Index ¶
- func InitGlobalRes()
- type MetaSvrGlobalRes
- func (g *MetaSvrGlobalRes) GetDbPool() *pool.DbPool
- func (g *MetaSvrGlobalRes) GetDeployLog(logKey string, result *result.ResultBean)
- func (g *MetaSvrGlobalRes) GetRedisClusterClient() *goredis.ClusterClient
- func (g *MetaSvrGlobalRes) PubErrorLog(logKey, log string)
- func (g *MetaSvrGlobalRes) PubFailLog(logKey, log string)
- func (g *MetaSvrGlobalRes) PubLog(logKey, log string)
- func (g *MetaSvrGlobalRes) PubSuccessLog(logKey, log string)
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)
Click to show internal directories.
Click to hide internal directories.