tools

package
v0.0.0-...-97ce03a Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTtlRefresh

func CheckTtlRefresh(secleft int64) bool

func PanicHandler

func PanicHandler(panic_err interface{})

to do panic_err handler :default function

func RunPprofTool

func RunPprofTool(port string)

func ScheduleUploadPanic

func ScheduleUploadPanic()

func SmartCheck_LocalCache_Redis

func SmartCheck_LocalCache_Redis(ctx context.Context, Redis *redis.ClusterClient, localCache *UCache.Cache, keystr string) (interface{}, int64, bool)

func SmartDel_LocalCache_Redis

func SmartDel_LocalCache_Redis(ctx context.Context, Redis *redis.ClusterClient, localCache *UCache.Cache, keystr string)

func SmartSet_LocalCache_Redis

func SmartSet_LocalCache_Redis(ctx context.Context, Redis *redis.ClusterClient, localCache *UCache.Cache, keystr string, value interface{}, ttlSecond int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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