qr

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	H = qr.H
	M = qr.M
	L = qr.L
)

Variables

This section is empty.

Functions

func Generate

func Generate(text string, l qr.Level, w io.Writer)

func GenerateHalfBlock

func GenerateHalfBlock(text string, l qr.Level, w io.Writer)

func GenerateWithConfig

func GenerateWithConfig(text string, config Config)

Types

type Config

type Config struct {
	Level          qr.Level
	Writer         io.Writer
	HalfBlocks     bool
	BlackChar      string
	BlackWhiteChar string
	WhiteChar      string
	WhiteBlackChar string
	QuietZone      int
}

Jump to

Keyboard shortcuts

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