lib

package
v0.0.0-...-7047c43 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExitRequested = false

ExitRequested handles whether app loop terminates

View Source
var HTMLMap map[string]string

HTMLMap maps html tag node values to global string literals

View Source
var HTMLTags tags

HTMLTags instance contains global tag string literal values

View Source
var InputOptionsMapMain = []string{
	actionPageContent,

	actionExit,
}

InputOptionsMapMain maps user input to top-level application options

View Source
var InputOptionsMapPage = []string{
	pageActionSaveText,
	pageActionSaveLinks,
	pageActionSavePage,
	pageActionSaveImageLinks,
	actionMenuMain,
}

InputOptionsMapPage maps user input options to page-content options

View Source
var InputOptionsMapSite = []string{
	siteActionSaveImageLinks,
	siteActionSaveLinks,
	siteActionSaveText,
	actionMenuMain,
}

InputOptionsMapSite maps user input to site-content options

Functions

func GreetUser

func GreetUser()

GreetUser on application start

func MenuMain()

MenuMain represents top-level menu for user application options

func SetupConstants

func SetupConstants()

SetupConstants initialises HTMLMap and HTMLTags

func Timer

func Timer(start time.Time, message string)

Timer prints how long a routine takes

Types

This section is empty.

Jump to

Keyboard shortcuts

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