webserver

package
v0.0.0-...-def5eec Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const WinThreshold = 50

Variables

This section is empty.

Functions

func CheckAccessToken

func CheckAccessToken() gin.HandlerFunc

func RollingBalls

func RollingBalls(engine *engine.Engine) gin.HandlerFunc

func Run

func Run(listen string, engine *engine.Engine)

Types

type GuessingSubmission

type GuessingSubmission struct {
	Id string `binding:"required"`
}

type JSONObject

type JSONObject map[string]interface{}

type PositionSubmission

type PositionSubmission struct {
	Lat float32 `binding:"required"`
	Lon float32 `binding:"required"`
}

Jump to

Keyboard shortcuts

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