Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleResource ¶
func HandleResource(root resource.IResource) http.HandlerFunc
HandleResource turns an IResource into an http.HandlerFunc; providing responses to http get and post requests.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package app wraps the runtime in json input, output handlers.
|
Package app wraps the runtime in json input, output handlers. |
Package ess provides resource implementations for game session endpoints.
|
Package ess provides resource implementations for game session endpoints. |
Package jsmem bridges a json (net/app) game to gopherjs TBD: would []byte instead of string be faster ( re: utf8 )
|
Package jsmem bridges a json (net/app) game to gopherjs TBD: would []byte instead of string be faster ( re: utf8 ) |
Package mem implements net.ess sessions for games compiled and held in local memory.
|
Package mem implements net.ess sessions for games compiled and held in local memory. |
Package resource rest-ish-ly provides game data similar to http://jsonapi.org.
|
Package resource rest-ish-ly provides game data similar to http://jsonapi.org. |
Package simple provides an http server which allows for console-like interaction with a game.
|
Package simple provides an http server which allows for console-like interaction with a game. |
Click to show internal directories.
Click to hide internal directories.