commRedisStatus

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: GPL-3.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ModelTypeChannel = "channel"
	ModelTypeDevice  = "device"
	ModelNameDevice  = "device"
)

Variables

View Source
var (
	Producer *redisStatusProducerService
	Consumer *redisStatusConsumerService
)

Functions

func BuildServiceKey added in v1.0.1

func BuildServiceKey(serviceType, serviceName string) string

func GetDataList added in v1.0.1

func GetDataList(timeout int64) []map[string]interface{}

func Instance

func Instance()

func IsActive

func IsActive(modelType string, modelName string, timeout int) bool

func Scheduler

func Scheduler()

Scheduler 创建一个线程

Types

This section is empty.

Jump to

Keyboard shortcuts

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