Directories ¶
Path | Synopsis |
---|---|
Package bootstrap provides identical initialization to main(), but also to system tests; initialization is gocloud-enabled so that config files can be loaded from an app engine bucket.
|
Package bootstrap provides identical initialization to main(), but also to system tests; initialization is gocloud-enabled so that config files can be loaded from an app engine bucket. |
Package cfg implements a configuration database, loaded from a json file.
|
Package cfg implements a configuration database, loaded from a json file. |
Package cloudio is a wrapper for godoc.org/gocloud.dev/blob emulating os.WriteFile and os.ReadFile.
|
Package cloudio is a wrapper for godoc.org/gocloud.dev/blob emulating os.WriteFile and os.ReadFile. |
Package ctr implements an application wide source for unique IDs.
|
Package ctr implements an application wide source for unique IDs. |
Package generators contains example questionnaires and helpers to create them.
|
Package generators contains example questionnaires and helpers to create them. |
Package handler contains metadata struct for http handlers; urls, titles, privileges and navigation menu info.
|
Package handler contains metadata struct for http handlers; urls, titles, privileges and navigation menu info. |
Package handlers combines link data with http handler funcs.
|
Package handlers combines link data with http handler funcs. |
Package lgn implements an internal login database; users are stored in a JSON file; contains convenience handlers for user retrieval and password change; contains login by hashed URL and login by hash ID; contains profiles - groups of attributes for users.
|
Package lgn implements an internal login database; users are stored in a JSON file; contains convenience handlers for user retrieval and password change; contains login by hashed URL and login by hash ID; contains profiles - groups of attributes for users. |
shuffler
Package shuffler creates slices of integers random, but reproducible; based on the ID of the user; classes of users see the same random order each time they visit; each page has a different randomization of appropriate length.
|
Package shuffler creates slices of integers random, but reproducible; based on the ID of the user; classes of users see the same random order each time they visit; each page has a different randomization of appropriate length. |
Package qst implements a four levels deep nested structure with input controls, groups, pages and questionnaire; contains HTML rendering, page navigation, loading/saving from/to JSON file, consistence validation, multi-language support.
|
Package qst implements a four levels deep nested structure with input controls, groups, pages and questionnaire; contains HTML rendering, page navigation, loading/saving from/to JSON file, consistence validation, multi-language support. |
qstcp
|
|
package compositeif serves to de-cycle the import chain between qst.CompositeFuncT and the packages references therein.
|
package compositeif serves to de-cycle the import chain between qst.CompositeFuncT and the packages references therein. |
Package sessx reads effective parameter values from GET, POST and SESSION.
|
Package sessx reads effective parameter values from GET, POST and SESSION. |
Package stream contains convenience funcs to hijack a connection and flush each write to the client; test handlers simulate long requests; some information for app engine deployments is provided
|
Package stream contains convenience funcs to hijack a connection and flush each write to the client; test handlers simulate long requests; some information for app engine deployments is provided |
Package tf - transferrer - has two uses.
|
Package tf - transferrer - has two uses. |
Package tpl parses and bundles templates related by `/templates/bundles.json` and stores them into a map `cache`; i.e.
|
Package tpl parses and bundles templates related by `/templates/bundles.json` and stores them into a map `cache`; i.e. |
Package trl is a central store for application environment translations; While specific objects such as QuestionnaireT contain translations for its contents, we need some global store too.
|
Package trl is a central store for application environment translations; While specific objects such as QuestionnaireT contain translations for its contents, we need some global store too. |
Package wrap inserts some common logic, before calling the actual handler func.
|
Package wrap inserts some common logic, before calling the actual handler func. |
Click to show internal directories.
Click to hide internal directories.