CeresRedis

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

ceres-redis

「仅发布」redis模块

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*redis.UniversalOptions
	// contains filtered or unexported fields
}

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig 默认配置

func RawConfig

func RawConfig(key string) *Config

RawConfig

func ScanConfig

func ScanConfig(name string) *Config

ScanConfig

func (*Config) Build

func (c *Config) Build() *Redis

构建redis

func (*Config) WithLogger

func (c *Config) WithLogger(logger CeresLogger.Logger) *Config

设置自己的logger

type Redis

type Redis struct {
	redis.UniversalClient
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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