user

package
v0.0.0-...-7418c02 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Ctx      context.Context
	GCtx     *gin.Context
	RedisCli *redis.RedisInstance
}

func NewCache

func NewCache(ctx context.Context) *Cache

func (*Cache) GetCacheByAddress

func (c *Cache) GetCacheByAddress(address string) string

GetCacheByAddress 获取缓存

func (*Cache) SetCacheByAddress

func (c *Cache) SetCacheByAddress(address string, userProfile string)

SetCacheByAddress 设置缓存

Jump to

Keyboard shortcuts

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