webapp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOnlyRequest added in v0.0.9

func GetOnlyRequest(next http.HandlerFunc) http.Handler

func PostOnlyRequest added in v0.0.9

func PostOnlyRequest(next http.HandlerFunc) http.Handler

Types

type ClientEvent

type ClientEvent interface{}

type ClientEventDownload added in v0.0.5

type ClientEventDownload chan [][]common.Color

type ClientEventRegistered

type ClientEventRegistered uint64

type ClientEventReset added in v0.0.4

type ClientEventReset bool

type ClientEventSetColor added in v0.0.4

type ClientEventSetColor common.Color

type ClientEventSetTool added in v0.0.4

type ClientEventSetTool string

type ClientEventUndo added in v0.0.6

type ClientEventUndo bool

type WebApplication

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

func NewWebApplication

func NewWebApplication(mailbox *notifier.Notifier, ch chan<- ClientEvent) *WebApplication

func (WebApplication) GetMux

func (ca WebApplication) GetMux() *http.ServeMux

Jump to

Keyboard shortcuts

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