rediscache

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(conf Config) *redis.Client

Types

type Config

type Config struct {
	Host      string `conf:"host"`
	Port      int    `conf:"port"`
	DBNo      int    `conf:"db_no"`
	TimeoutMs int    `conf:"timeout,unit:ms"`
}

Jump to

Keyboard shortcuts

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