redis

package
v0.0.0-...-45e38b6 Latest Latest
Warning

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

Go to latest
Published: May 17, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAcNumByUserId

func GetAcNumByUserId(userId int64) (float64, error)

func GroupRankAdd

func GroupRankAdd(groupId int64) error

func GroupRankGet

func GroupRankGet(currentPage int, perPage int) ([]map[string]interface{}, error)

func GroupRankUpdate

func GroupRankUpdate(increment int, groupId int64) error

func PersonMonthRankAdd

func PersonMonthRankAdd(userId int64) error

func PersonMonthRankGet

func PersonMonthRankGet(userId int64) ([]map[string]interface{}, error)

func PersonMonthRankUpdate

func PersonMonthRankUpdate(increment int, userId int64) error

func PersonWeekRankAdd

func PersonWeekRankAdd(userId int64) error

func PersonWeekRankGet

func PersonWeekRankGet(userId int64) ([]map[string]interface{}, error)

func PersonWeekRankUpdate

func PersonWeekRankUpdate(increment int, userId int64) error

func ProblemCountGet

func ProblemCountGet(problemId int64) (string, error)

func ProblemCountSet

func ProblemCountSet(problemId int64, mess string) bool

func ProblemNumGet

func ProblemNumGet() (string, error)

func ProblemNumUpdate

func ProblemNumUpdate() error

func ProblemStatusGet

func ProblemStatusGet(userId int64, problemId int64) (int, error)

func ProblemStatusSet

func ProblemStatusSet(userId int64, problemId int64, status int) error

func RankListAdd

func RankListAdd(userId int64) error

func RankListCount

func RankListCount() int64

func RankListGet

func RankListGet(currentPage int, perPage int) ([]map[string]interface{}, error)

func RankListUpdate

func RankListUpdate(increment int, userId int64) error

func SubmitCountGet

func SubmitCountGet(userId int64) (string, error)

func SubmitCountSet

func SubmitCountSet(userId int64, mess string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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