encode

package
v0.0.0-...-8e49bad Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package encode can be used to generate the QR code. More details can be found here: https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-network-config-android-ios-11.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeWpa

func EncodeWpa(ssid, password string) []byte

EncodeWpa will return the bytes of a png image encoding the Wi-Fi details for the given ssid and password values.

func Escape

func Escape(in string) string

Escape will correctly escape the string for encoding correctly in the QR code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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