Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeURL = "url" TypeTel = "tel" TypeSMS = "sms" TypeEmail = "email" )
View Source
const DefaultQRSize int = 600
Default size of the QR code - 601px is the breakpoint for small screens on @media queries. This will display as full size on mobile devices without compression.
Variables ¶
Functions ¶
func GenerateCode ¶
func GenerateCode(ctx context.Context, req CodeRequest) (string, error)
Types ¶
type CodeRequest ¶
type Handler ¶
func NewHandler ¶
Click to show internal directories.
Click to hide internal directories.