Documentation ¶
Index ¶
Constants ¶
View Source
const (
//TransactionHeader is the header for transactions.
TransactionHeader = "TRANSACTION\tSTARTED\tOPS\t\n"
)
Variables ¶
This section is empty.
Functions ¶
func PrintDetailedTransactionInfo ¶
func PrintDetailedTransactionInfo(info *PrintableTransactionInfo) error
PrintDetailedTransactionInfo prints detailed information about a transaction to stdout.
func PrintTransactionInfo ¶
func PrintTransactionInfo(w io.Writer, info *transaction.TransactionInfo, fullTimestamps bool)
PrintTransactionInfo prints a short summary of a transaction to the provided device.
Types ¶
type PrintableTransactionInfo ¶
type PrintableTransactionInfo struct { *transaction.TransactionInfo FullTimestamps bool }
PrintableTransactionInfo wraps a transaction.TransactionInfo with the information needed to format it when printing.
Click to show internal directories.
Click to hide internal directories.