tasks

package
v0.1.31-0...-b1e5c7a Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2018 License: ISC Imports: 12 Imported by: 0

Documentation

Overview

Package tasks provides a set of handlers to perform long running tasks in gonawin app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddScoreToScoreEntities

func AddScoreToScoreEntities(w http.ResponseWriter, r *http.Request) error

AddScoreToScoreEntities handler, use it to add a score to score model.

func CreateScoreEntities

func CreateScoreEntities(w http.ResponseWriter, r *http.Request) error

CreateScoreEntities handler, use it to create the score entities.

func DeleteUserPredicts

func DeleteUserPredicts(w http.ResponseWriter, r *http.Request) error

DeleteUserPredicts task handler, use it to delete the predictions of a given user.

func Invite

func Invite(w http.ResponseWriter, r *http.Request) error

Invite task handler, use it to send an invitation via email.

func PublishUsersScoreActivities

func PublishUsersScoreActivities(w http.ResponseWriter, r *http.Request) error

PublishUsersScoreActivities published user score activities.

func UpdateScores

func UpdateScores(w http.ResponseWriter, r *http.Request) error

UpdateScores updates the scores of all users in tournaments. it does this by dispatching different tasks.

GET	/a/update/scores/	update

The response is ...

func UpdateUsersScores

func UpdateUsersScores(w http.ResponseWriter, r *http.Request) error

UpdateUsersScores handler, use it to update users scores.

Types

This section is empty.

Jump to

Keyboard shortcuts

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