ext

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	Name    string
	Version int64
}

func CheckModule

func CheckModule(client redis.UniversalClient, ctx context.Context, modulename string) (*Module, error)

CheckModule 检查模块是否被加载

func ListModule

func ListModule(client redis.UniversalClient, ctx context.Context) ([]*Module, error)

ListModule 查看redis服务端加载的扩展模块

Directories

Path Synopsis
limiter
Package limiter 限制器 可以用于防止短时间内大量请求同时处理,比如缓存防击穿,防爬虫等
Package limiter 限制器 可以用于防止短时间内大量请求同时处理,比如缓存防击穿,防爬虫等

Jump to

Keyboard shortcuts

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