tools

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeSQLParam

func EscapeSQLParam(val string) string

Types

type RedisSearchStatistics

type RedisSearchStatistics struct {
	Index *orm.RedisSearchIndex
	Info  *orm.RedisSearchIndexInfo
}

func GetRedisSearchStatistics

func GetRedisSearchStatistics(engine *orm.Engine) []*RedisSearchStatistics

type RedisStatistics

type RedisStatistics struct {
	RedisPool string
	Info      map[string]string
}

func GetRedisStatistics

func GetRedisStatistics(engine *orm.Engine) []*RedisStatistics

type RedisStreamConsumerStatistics

type RedisStreamConsumerStatistics struct {
	Name    string
	Pending uint64
}

type RedisStreamGroupStatistics

type RedisStreamGroupStatistics struct {
	Group                 string
	Pending               uint64
	LastDeliveredID       string
	LastDeliveredDuration time.Duration
	LowerID               string
	LowerDuration         time.Duration
	Consumers             []*RedisStreamConsumerStatistics
}

type RedisStreamStatistics

type RedisStreamStatistics struct {
	Stream             string
	RedisPool          string
	Len                uint64
	OldestEventSeconds int
	Groups             []*RedisStreamGroupStatistics
}

func GetRedisStreamsStatistics

func GetRedisStreamsStatistics(engine *orm.Engine) []*RedisStreamStatistics

Jump to

Keyboard shortcuts

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