cache

package
v0.0.0-...-671c73a Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelUserInfoNullKey

func DelUserInfoNullKey(ctx context.Context, uid int64) error

func DelUserLoginNullKey

func DelUserLoginNullKey(ctx context.Context, username string) error

func GetUserCounter

func GetUserCounter(ctx context.Context, uid int64) (*model.User, error)

func GetUserInfo

func GetUserInfo(ctx context.Context, uid int64) (*model.User, error)

func GetUserInfoNullKey

func GetUserInfoNullKey(ctx context.Context, uid int64) error

func GetUserLoginNullKey

func GetUserLoginNullKey(ctx context.Context, username string) error

func NewUserCounters

func NewUserCounters(ctx context.Context, users []*model.User) error

func NewUserInfoNullKey

func NewUserInfoNullKey(ctx context.Context, uid int64, duration time.Duration) error

func NewUserInfos

func NewUserInfos(ctx context.Context, users []*model.User, duration time.Duration) error

func NewUserLoginNullKey

func NewUserLoginNullKey(ctx context.Context, username string, duration time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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