recorder

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 7 Imported by: 2

Documentation

Overview

Package recorder for GUI integration

Index

Constants

This section is empty.

Variables

View Source
var Signal = events.NewSignal("RecorderEvent")

Functions

func Reset

func Reset()

func SetRecord

func SetRecord(state bool)

Types

type Container

type Container struct {
	Titles, Regions map[string]string
	Countries       *set.Set[string]
}
var Recorded Container

func (*Container) AddCountry

func (recorder *Container) AddCountry(name string)

func (*Container) UpdateRegions

func (recorder *Container) UpdateRegions(node *html.Node)

func (*Container) UpdateTitles

func (recorder *Container) UpdateTitles(node *html.Node)

func (*Container) UpdateTitlesAndRegions

func (recorder *Container) UpdateTitlesAndRegions(node *html.Node)

type Params

type Params struct {
	Titles, Regions string
}

Jump to

Keyboard shortcuts

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