qrcode

package
v0.0.0-...-1369677 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Cloud    string // 服务商(当前支持VRCode)
	Domain   string // 域名
	UserName string // 用户
	Password string // 密码
	Mode     int64  // 模式
}

Config 二维码配置

type QRCode

type QRCode interface {
	// GetQRCode 获取二维码
	GetQRCode(imgCode, codeInfo string) (string, error)
}

QRCode 二维码接口

func MustNewQRCode

func MustNewQRCode(c *Config) QRCode

MustNewQRCode 新建二维码生成对象

func NewQRCode

func NewQRCode(c *Config) (QRCode, error)

NewQRCode 新建二维码生成对象

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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