Documentation ¶
Overview ¶
Package printing contains the logic for printing elements of the system.
Index ¶
- func CaseGet(w http.ResponseWriter, r *http.Request)
- func CaseProtocolsGet(w http.ResponseWriter, r *http.Request)
- func CasesListGet(lister handler.TestCaseLister) http.HandlerFunc
- func ProtocolCasePdf(l handler.CaseProtocolLister) http.HandlerFunc
- func ProtocolSequencePdf(l handler.SequenceProtocolLister, lc handler.CaseProtocolLister, ...) http.HandlerFunc
- func ProtocolsListGet(tcl handler.TestCaseLister, tsl handler.TestSequenceLister) http.HandlerFunc
- func SequenceGet(w http.ResponseWriter, r *http.Request)
- func SequenceProtocolsGet(w http.ResponseWriter, r *http.Request)
- func SequencesListGet(lister handler.TestSequenceLister) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaseGet ¶
func CaseGet(w http.ResponseWriter, r *http.Request)
CaseGet handles the showing of the template to print all test cases
func CaseProtocolsGet ¶
func CaseProtocolsGet(w http.ResponseWriter, r *http.Request)
CaseProtocolsGet shows the template for printing a case protocol
func CasesListGet ¶
func CasesListGet(lister handler.TestCaseLister) http.HandlerFunc
CasesListGet handles the showing of the template to print all test cases
func ProtocolCasePdf ¶ added in v1.3.0
func ProtocolCasePdf(l handler.CaseProtocolLister) http.HandlerFunc
ProtocolCasePdf creates and serves a pdf for a case protocol
func ProtocolSequencePdf ¶ added in v1.3.0
func ProtocolSequencePdf(l handler.SequenceProtocolLister, lc handler.CaseProtocolLister, tg handler.TestCaseGetter) http.HandlerFunc
ProtocolSequencePdf creates and serves a pdf for a sequence protocol
func ProtocolsListGet ¶
func ProtocolsListGet(tcl handler.TestCaseLister, tsl handler.TestSequenceLister) http.HandlerFunc
ProtocolsListGet serves the page that display the print screen for a list of protocols
func SequenceGet ¶
func SequenceGet(w http.ResponseWriter, r *http.Request)
SequenceGet serves the page for printing a testsequence.
func SequenceProtocolsGet ¶
func SequenceProtocolsGet(w http.ResponseWriter, r *http.Request)
SequenceProtocolsGet serves the page for printing testsequence protocols.
func SequencesListGet ¶
func SequencesListGet(lister handler.TestSequenceLister) http.HandlerFunc
SequencesListGet handles the showing of the template to print all test cases
Types ¶
This section is empty.