inner

package
v0.0.0-...-8d7dea8 Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Brain

type Brain struct {
	// contains filtered or unexported fields
}

func NewBrain

func NewBrain(conn *websocket.Conn, actorID uuid.UUID, brainType string) *Brain

func (*Brain) SendMessage

func (b *Brain) SendMessage(msg wsapi.Message) error

func (*Brain) Shutdown

func (b *Brain) Shutdown(sendCloseMessage bool, closeCode int, closeText string)

func (*Brain) Start

func (b *Brain) Start() error

type Connection

type Connection struct {
	WSConn *websocket.Conn
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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