Documentation
¶
Index ¶
Constants ¶
const ( ErrorCorrectL = 1 ErrorCorrectM = 0 ErrorCorrectQ = 3 ErrorCorrectH = 2 )
Error correction levels of qrcode.constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code struct {
// contains filtered or unexported fields
}
QR symbol built like qrcode.QRCode with box size 1, the fitted version and the best mask
func Make ¶
Fits data into the smallest version of the level and applies the best mask like qrcode add_data and make
func (*Code) PrintASCII ¶
Half block art of the symbol with its border, the output of print_ascii without a tty
type DataOverflowError ¶
type DataOverflowError struct{ Msg string }
Error a data set too large for the chosen version raises, the text qrcode prints
func (*DataOverflowError) Error ¶
func (e *DataOverflowError) Error() string
type VersionError ¶
type VersionError struct{ Version int }
ValueError of a version outside 1 to 40, what best_fit raises once the data needs more than version 40
func (*VersionError) Error ¶
func (e *VersionError) Error() string