Documentation ¶
Overview ¶
Package jsmem bridges a json (net/app) game to gopherjs TBD: would []byte instead of string be faster ( re: utf8 )
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Create ¶
type Create struct {
// contains filtered or unexported fields
}
func NewCreator ¶
func (*Create) RecordInput ¶
func (*Create) RestoreGame ¶
Restore uses the passed code and data as a starting point, and restores the saved json over top of it.
func (*Create) Save ¶
func (c *Create) Save(save SaveCallback) *Create
type JsMem ¶
type JsMem struct {
// contains filtered or unexported fields
}
type Storage ¶
type Storage pack.ObjectValuePack
Click to show internal directories.
Click to hide internal directories.