spectator

package
v0.0.0-...-11e9a73 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spectator

type Spectator struct {
	WebSocketConnection *websocket.Conn
}

func New

func New() *Spectator

func (*Spectator) GetWebSocketConnection

func (me *Spectator) GetWebSocketConnection() *websocket.Conn

func (*Spectator) SendMessage

func (me *Spectator) SendMessage(json string) error

func (*Spectator) SetWebSocketConnection

func (me *Spectator) SetWebSocketConnection(conn *websocket.Conn)

Jump to

Keyboard shortcuts

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