rediskey

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 5 Imported by: 14

Documentation

Index

Constants

View Source
const ActiveGamesZSet = "automuteus:games"
View Source
const AllTokensHSet = "automuteus:alltokens"
View Source
const Commit = "automuteus:commit"
View Source
const JobNamespace = "automuteus:jobs:"
View Source
const TotalGuildsSet = "automuteus:count:guilds"
View Source
const Version = "automuteus:version"

Variables

This section is empty.

Functions

func ActiveGamesForGuild

func ActiveGamesForGuild(guildID string) string

func BotTokenIdentifyLock

func BotTokenIdentifyLock(token string) string

func CompleteTask

func CompleteTask(taskID string) string

func ConnectCodeData

func ConnectCodeData(guildID, connCode string) string

func ConnectCodePtr

func ConnectCodePtr(guildID, code string) string

func GetActiveGames added in v0.0.2

func GetActiveGames(ctx context.Context, client *redis.Client, secs int64) int64

func GetGuildCounter added in v0.0.2

func GetGuildCounter(ctx context.Context, client *redis.Client) int64

func GetVersionAndCommit added in v0.0.2

func GetVersionAndCommit(ctx context.Context, client *redis.Client) (string, string)

func GuildCacheHash

func GuildCacheHash(guildID string) string

func GuildSettings

func GuildSettings(id string) string

func GuildTokenLock

func GuildTokenLock(guildID, hToken string) string

func GuildTokensKey

func GuildTokensKey(guildID string) string

Tokens

func RequestsByType

func RequestsByType(typeStr string) string

func RoomCodesForConnCode

func RoomCodesForConnCode(connCode string) string

func SnowflakeLockID

func SnowflakeLockID(snowflake string) string

func TasksSubscribe

func TasksSubscribe(connectCode string) string

func TextChannelPtr

func TextChannelPtr(guildID, channelID string) string

func VoiceChangesForGameCodeLock

func VoiceChangesForGameCodeLock(connectCode string) string

func VoiceChannelPtr

func VoiceChannelPtr(guildID, channelID string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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