Documentation
¶
Index ¶
- func GetJSON[T any](rdb *redis.Client, ctx context.Context, key string) (T, error)
- func GetScore(rdb *redis.Client, ctx context.Context, scoreId int) (osuapi.Score, error)
- func GetStats(rdb *redis.Client, ctx context.Context) (domain.Stats, error)
- func GetTopUsers(rdb *redis.Client, ctx context.Context, limit, page int) (domain.Paged[domain.UserExtended], error)
- func SetJSON(rdb *redis.Client, ctx context.Context, key string, val any, ttl time.Duration) error
- func SetScore(rdb *redis.Client, ctx context.Context, score osuapi.Score) error
- func SetStats(rdb *redis.Client, ctx context.Context, stats domain.Stats) error
- func SetTopUsers(rdb *redis.Client, ctx context.Context, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTopUsers ¶ added in v0.11.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.