printing

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: GPL-3.0 Imports: 21 Imported by: 2

Documentation

Overview

Package printing contains the logic for printing elements of the system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPdfForCaseProtocol

func BuildPdfForCaseProtocol(protocol test.CaseExecutionProtocol, testCase test.Case) (io.Reader, error)

BuildPdfForCaseProtocol returns an io.Reader object for a pdf containing the protocol test.CaseExecutionProtocol information for the testCase test.Case

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 ProtocolCaseMd added in v1.7.0

func ProtocolCaseMd(l handler.CaseProtocolLister) http.HandlerFunc

ProtocolCaseMd builds and serves a markdown string for the protocol

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 ProtocolSequenceMd added in v1.7.0

ProtocolSequenceMd builds and serves a markdown string for the protocol

func ProtocolSequencePdf added in v1.3.0

ProtocolSequencePdf creates and serves a pdf for a sequence protocol

func ProtocolsListGet

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.

Jump to

Keyboard shortcuts

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