remodrive

package
v0.0.0-...-531763a Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRemoDrive

func InitRemoDrive(app *fiber.App)

Types

type RemoDrive

type RemoDrive struct {
	Rooms map[string]Room
}

func (*RemoDrive) CloseRoomByName

func (r *RemoDrive) CloseRoomByName(name string) error

func (*RemoDrive) Drive

func (r *RemoDrive) Drive(w http.ResponseWriter, req *http.Request)

func (*RemoDrive) Handlers

func (r *RemoDrive) Handlers(app *fiber.App)

func (*RemoDrive) Host

func (r *RemoDrive) Host(w http.ResponseWriter, req *http.Request)

func (*RemoDrive) NewRoom

func (r *RemoDrive) NewRoom(name string) error

type Room

type Room struct {
	Msgs chan string
}

Jump to

Keyboard shortcuts

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