Documentation
¶
Overview ¶
Package qrcode creates one or more QR codes in PNG format encoding the JWS of a SMART Health Card such that smart devices such as iPhones can scan the QR code(s) and load the SMART Health Card information in applications such as the Wallet and Health apps for the iPhone. See https://spec.smarthealth.cards/#every-health-card-can-be-embedded-in-a-qr-code and https://spec.smarthealth.cards/#encoding-chunks-as-qr-codes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
Encode takes the content to be encoded, breaks it into chunks if necessary, and encodes each chunk as per the SMART Health Card spec, see: https://spec.smarthealth.cards/#encoding-chunks-as-qr-codes.
Each encoded chunk is then encoded as a QR code in PNG format and represented as a byte slice.
Types ¶
This section is empty.