sessionhub

package
v0.0.0-...-292fe0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Players *players

Functions

This section is empty.

Types

type Session

type Session struct {
	PlayerId int64
	// contains filtered or unexported fields
}

func (*Session) Send

func (s *Session) Send(messageType model.MessageType, raw interface{}) error

func (*Session) SetReceiver

func (s *Session) SetReceiver(r chan model.Message)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL