Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code struct {
Type string `json:"type,omitempty" xml:"type,omitempty" yaml:"type,omitempty"`
Secret string `json:"secret,omitempty" xml:"secret,omitempty" yaml:"secret,omitempty"`
Algorithm string `json:"algorithm,omitempty" xml:"algorithm,omitempty" yaml:"algorithm,omitempty"`
Label string `json:"label,omitempty" xml:"label,omitempty" yaml:"label,omitempty"`
Issuer string `json:"issuer,omitempty" xml:"issuer,omitempty" yaml:"issuer,omitempty"`
Period int `json:"period,omitempty" xml:"period,omitempty" yaml:"period,omitempty"`
Digits int `json:"digits,omitempty" xml:"digits,omitempty" yaml:"digits,omitempty"`
Counter int `json:"counter,omitempty" xml:"counter,omitempty" yaml:"counter,omitempty"`
// contains filtered or unexported fields
}
Code holds the data associated with a QR code.
func (*Code) GetEncoded ¶
GetEncoded returns base64-encoded QR code.
Click to show internal directories.
Click to hide internal directories.