live

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageLayer

type MessageLayer struct {
	Name string `json:"name"`
	Svg  string `json:"svg"`
}

type RenderMessage

type RenderMessage struct {
	Name     string         `json:"name"`
	Keyboard string         `json:"keyboard"`
	Layers   []MessageLayer `json:"layers"`
}

type Server

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

func NewServer

func NewServer(ctx context.Context, renderer keytographer.Renderer, watchFile, host string, port int) (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

Jump to

Keyboard shortcuts

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