routes

package
v0.0.0-...-290e241 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateUser

func AuthenticateUser(w http.ResponseWriter, r *http.Request)

AuthenticateUser : endpoint to refresh access token and refresh token with login.

func ChangeTraitTick

func ChangeTraitTick(w http.ResponseWriter, r *http.Request)

ChangeTraitTick : change a character's trait's tick status (tick/untick)

func CreateCharacters

func CreateCharacters(w http.ResponseWriter, r *http.Request)

CreateCharacters : endpoint to create a new character (both PC and NPC)

func CreateConflicts

func CreateConflicts(w http.ResponseWriter, r *http.Request)

CreateConflicts : endpoint to create a new conflict

func CreateEidolons

func CreateEidolons(w http.ResponseWriter, r *http.Request)

CreateEidolons : endpoint to create a new eidolon

func CreatePowers

func CreatePowers(w http.ResponseWriter, r *http.Request)

CreatePowers : endpoint to create a new power

func CreateScenes

func CreateScenes(w http.ResponseWriter, r *http.Request)

CreateScenes : endpoint to create a new scene

func CreateUsers

func CreateUsers(w http.ResponseWriter, r *http.Request)

CreateUsers : endpoint to create a new user and obtain access token

func DeleteCharacters

func DeleteCharacters(w http.ResponseWriter, r *http.Request)

DeleteCharacters : endpoint to retrieve a character (both PC and NPC)

func GetCharacters

func GetCharacters(w http.ResponseWriter, r *http.Request)

GetCharacters : endpoint to retrieve a character (both PC and NPC)

func GetUsers

func GetUsers(w http.ResponseWriter, r *http.Request)

GetUsers : endpoint to retrieve a user data A user could only retrieve their own profile unless they're the admin

func RefreshAccessToken

func RefreshAccessToken(w http.ResponseWriter, r *http.Request)

RefreshAccessToken : endpoint to refresh access token and refresh token without login.

func Reroll

func Reroll(w http.ResponseWriter, r *http.Request)

Reroll : reroll arbitrary number of dice

func UpdateCharacters

func UpdateCharacters(w http.ResponseWriter, r *http.Request)

UpdateCharacters : endpoint to update a character (both PC and NPC)

func UpdateConflicts

func UpdateConflicts(w http.ResponseWriter, r *http.Request)

UpdateConflicts : endpoint to update a scene

func UpdateEidolons

func UpdateEidolons(w http.ResponseWriter, r *http.Request)

UpdateEidolons : endpoint to update an eidolon

func UpdatePowers

func UpdatePowers(w http.ResponseWriter, r *http.Request)

UpdatePowers : endpoint to update a scene

func UpdateScenes

func UpdateScenes(w http.ResponseWriter, r *http.Request)

UpdateScenes : endpoint to update a scene

func UpdateUsers

func UpdateUsers(w http.ResponseWriter, r *http.Request)

UpdateUsers : endpoint to update a user data A user could only change their own profile unless they're the admin

func UseAwesomeToken

func UseAwesomeToken(w http.ResponseWriter, r *http.Request)

UseAwesomeToken : Awesome Tokens might be used for the following: * 1 AT : players/eidolons can take another strike, achievement, charge power action, * or Catch Your Breath after they take an action. * 1 AT : GM can disarm a character's Soulbound Weapon. The character gains bonus dice to earn

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳