qrcode

package
v0.0.0-...-0ae32de Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SYMBS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
	WORDS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
	NUMS  = "0123456789"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FileData

type FileData struct {
	Folder string
	Name   string
	Path   string
	Img_b  []byte
}

type MetaData

type MetaData struct {
	Url     string
	Code_id string
	Initer  string
}

type ProcQRCode

type ProcQRCode interface {
	GenQRCodeBytes()
	GenQRCodeImg()
	IsValid()
	SaveQRCode()
	RmvQRCode()
}

type QRCode

type QRCode struct {
	MetaData
	FileData
	QStatus
}

func (*QRCode) GenQRCodeBytes

func (qrcode *QRCode) GenQRCodeBytes(host string, initer string) bool

func (*QRCode) GenQRCodeImg

func (qrcode *QRCode) GenQRCodeImg() bool

func (*QRCode) GetQRCode

func (qrcode *QRCode) GetQRCode() ([]interface{}, error)

func (*QRCode) IsValid

func (qrcode *QRCode) IsValid() bool

func (*QRCode) RmvQRCode

func (qrcode *QRCode) RmvQRCode() ([]interface{}, error)

func (*QRCode) SaveQRCode

func (qrcode *QRCode) SaveQRCode() ([]interface{}, error)

type QStatus

type QStatus struct {
	Status bool
}

Jump to

Keyboard shortcuts

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