code

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(codeType Type) interfaces.ICode

Types

type Type

type Type string
const (
	// GetUnlimitedQRCode getUnlimitedQRCode 获取不限制的小程序码
	GetUnlimitedQRCode Type = "getUnlimitedQRCode"
)

type Unlimited

type Unlimited struct {
	Scene      string         `json:"scene"`
	Page       string         `json:"page"`
	CheckPath  bool           `json:"check_path"`
	EnvVersion string         `json:"env_version"`
	Width      int64          `json:"width"`
	AutoColor  bool           `json:"auto_color"`
	LineColor  *power.HashMap `json:"line_color"`
	IsHyaLine  bool           `json:"is_hyaline"`
}

Unlimited 临时二维码

func (*Unlimited) Get

func (u *Unlimited) Get() ([]byte, error)

Jump to

Keyboard shortcuts

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