cache

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	GetComponentVerifyTicket() (string, error)
	SetComponentVerifyTicket(componentVerifyTicket string) error
	GetComponentAccessToken() (string, error)
	SetComponentAccessToken(accessToken string, expiresIn int) error
	GetAuthorizerAccessToken(authorizerAppid string) (string, error)
	SetAuthorizerAccessToken(authorizerAppid string, accessToken string, expiresIn int) error
	GetAuthorizerRefreshToken(authorizerAppid string) (string, error)
	SetAuthorizerRefreshToken(authorizerAppid string, refreshToken string) error
}

func New

func New(appId string, redis intf.RedisProvider) Cache

Jump to

Keyboard shortcuts

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