lang

package
v0.0.0-...-0dfcd91 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpHandler

func HttpHandler(loop *painter.Loop, p *Parser) http.Handler

HttpHandler конструює обробник HTTP запитів, який дані з запиту віддає у Parser, а потім відправляє отриманий список операцій у painter.Loop.

Types

type Parser

type Parser struct{}

func (*Parser) CommandParser

func (p *Parser) CommandParser(commandName string, args []string) painter.Operation

func (*Parser) Parse

func (p *Parser) Parse(in io.Reader) ([]painter.Operation, error)

Jump to

Keyboard shortcuts

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