hardcrash

package module
v0.0.0-...-b038d8b Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

README

hardcrash

Overkill backend for creating hardware control guis

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

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

type Hardcrash

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

func New

func New() *Hardcrash

func (*Hardcrash) Registertool

func (gog *Hardcrash) Registertool(tool Tool, name string)

register a tool *COMPONENT* that provides the tool interface (i.e. ender.go's Ender struct)

func (Hardcrash) Start

func (gog Hardcrash) Start()

type Tool

type Tool interface {
	Reset()
	//Next() int64
	//Previous() int64
	GetChannels() []chan any
	GetGui() []byte
	GetGuiFunctions() map[string]func(w http.ResponseWriter, r *http.Request)
}

type Webserver

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

func (*Webserver) InitWebServer

func (webserver *Webserver) InitWebServer()

Jump to

Keyboard shortcuts

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