server

package
v0.0.0-...-850f177 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(files *embed.FS) (*Server, error)

func (*Server) History

func (svc *Server) History(w http.ResponseWriter, r *http.Request)

func (*Server) Index

func (svc *Server) Index(w http.ResponseWriter, r *http.Request)

func (*Server) Launch

func (svc *Server) Launch() websocket.Handler

func (*Server) Play

func (svc *Server) Play(replay bool) websocket.Handler

func (*Server) Start

func (svc *Server) Start(ctx context.Context) error

func (*Server) Task

func (svc *Server) Task(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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