redis

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Index

Constants

This section is empty.

Variables

View Source
var (
	Client               *redis.Client // 默认的redis存储
	ClientActivationCode *redis.Client // 存储帐号激活码的
	ClientAuthEmailCode  *redis.Client // 存储邮箱验证码,存储结构 key: 验证码, value: 邮箱
	ClientAuthPhoneCode  *redis.Client // 存储手机验证码,存储结构 key: 验证码, value: 手机号
	ClientResetCode      *redis.Client // 存储重置密码的
	ClientOAuthCode      *redis.Client // 存储 oAuth2 对应的激活码
	Config               = config.Redis
)

Functions

func Connect added in v0.2.1

func Connect()

func Dispose added in v0.2.1

func Dispose()

Types

This section is empty.

Jump to

Keyboard shortcuts

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