mirror of
https://github.com/taigrr/wasm-experiments
synced 2025-01-18 04:03:21 -08:00
18 lines
210 B
Go
18 lines
210 B
Go
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
|
|
}
|