cache

package
v0.0.0-...-6bb929a Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

RedisCacheProvider

Functions

This section is empty.

Types

type IRedisCache

type IRedisCache interface {
	Ping(ctx context.Context) (string, error)
}

IRedisCache

type RedisCache

type RedisCache struct {
	// contains filtered or unexported fields
}

RedisCache

func NewRedisCache

func NewRedisCache(
	redis *gredis.Redis,
) (*RedisCache, error)

NewRedisCache

func (*RedisCache) Ping

func (p *RedisCache) Ping(ctx context.Context) (string, error)

Ping

Jump to

Keyboard shortcuts

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