You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package wire
|
|
|
|
|
|
|
|
type Welcome struct {
|
|
|
|
Rooms map[string]Room `json:"rooms"`
|
|
|
|
Players map[string]Player `json:"players"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (Welcome) NetTag() string { return "welcome" }
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
Register(func() Value { return new(Welcome) })
|
|
|
|
}
|