qrutil

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSize = 256

DefaultSize is the default QR code image size in pixels.

Variables

This section is empty.

Functions

func GenerateBytes

func GenerateBytes(content string) ([]byte, error)

GenerateBytes is a shorthand that returns raw PNG bytes for a proxy link.

func GeneratePNG

func GeneratePNG(content string, size int) ([]byte, error)

GeneratePNG generates a QR code as PNG bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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