mirror of
https://github.com/taigrr/wasm-experiments
synced 2025-01-18 04:03:21 -08:00
Add jsgo.io example
This commit is contained in:
17
vendor/github.com/dave/jsgo/server/servermsg/messages.go
generated
vendored
Normal file
17
vendor/github.com/dave/jsgo/server/servermsg/messages.go
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
package servermsg
|
||||
|
||||
import "encoding/gob"
|
||||
|
||||
func RegisterTypes() {
|
||||
gob.Register(Queueing{})
|
||||
gob.Register(Error{})
|
||||
}
|
||||
|
||||
type Queueing struct {
|
||||
Position int
|
||||
Done bool
|
||||
}
|
||||
|
||||
type Error struct {
|
||||
Message string
|
||||
}
|
||||
Reference in New Issue
Block a user