tasks

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2015 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 DeleteUserActivities

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

DeleteUserActivities task handler, use it to delete user activities.

func DeleteUserPredicts added in v0.1.30

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 handler, use it to publish the score activities for an array of users.

func UpdateScores

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

UpdateScores handler, use it to update the scores.

Use this handler to ...

GET	/a/update/scores/	Description..

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