cache

package
v0.0.1-202202071221 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MPL-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	WXMP_SESSION_KEY = `wxmp:%s:session:%s`
	// session key过期时间60秒
	WXMP_SESSION_KEY_EXPIRES = 60
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	GetSessKey(appId, wxId string) (string, error)
	SetSessKey(appId, wxId, sessKey string) error
}

func New

func New() Cache

Jump to

Keyboard shortcuts

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