repository

package
v0.0.0-...-238b541 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisRepository

func NewRedisRepository(Client *redis.Client) RedisInterface.IRedisRepository

Types

type RedisRepository

type RedisRepository struct {
	Client *redis.Client
}

func (*RedisRepository) Delete

func (m *RedisRepository) Delete(keys []string) error

func (*RedisRepository) Get

func (m *RedisRepository) Get(key string) (string, error)

func (*RedisRepository) Set

func (m *RedisRepository) Set(key string, value interface{}) error

Jump to

Keyboard shortcuts

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