gamba

package
v0.0.0-...-19a1b97 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package gamba handles gamba-related things.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InboundPendingDuels

func InboundPendingDuels(user *models.User, expire time.Duration, db *gorm.DB) ([]models.Duel, error)

InboundPendingDuels returns the user's inbound pending duels.

func OutboundPendingDuels

func OutboundPendingDuels(user *models.User, expire time.Duration, db *gorm.DB) ([]models.Duel, error)

OutbboundPendingDuels returns the user's inbound pending duels.

func StartGrantingPoints

func StartGrantingPoints(ctx context.Context, ps map[string]base.Platform, db *gorm.DB)

StartGrantingPoints starts a loop to grant points to all chatters on an interval. This function blocks and should be run within a goroutine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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