web

package
v0.0.0-...-b35ffc7 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

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

func NewConn

func NewConn(e *tp.Env, d <-chan *tp.Delta, u <-chan time.Time) *Conn

func (*Conn) Close

func (c *Conn) Close()

func (*Conn) EnvHandler

func (c *Conn) EnvHandler(w http.ResponseWriter, r *http.Request)

func (*Conn) Run

func (c *Conn) Run()

func (*Conn) WebsocketHandler

func (c *Conn) WebsocketHandler(w http.ResponseWriter, r *http.Request)

type EnvJSON

type EnvJSON struct {
	Width                int32
	Height               int32
	ViableCellGeneration int64
}

Jump to

Keyboard shortcuts

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