handlers

package
v0.0.0-...-454992d Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeliverMessages

func DeliverMessages()

func HandleConnections

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

grabs the message from the client and sends it to the channel

func HandleCreateNewSession

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

create a new session with /new -- should probably be a POST

func HandleIndex

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

func HandleRequestSession

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

for ruesting a specific session

func HandleSession

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

func HandleUpdateOrAddEstimation

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

handles POSTS to /api/estimations

func HandleUpdateSession

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

func HandleUserEstimation

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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