Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOTPInvalid = errors.New("OTP invalid")
Functions ¶
func Generate ¶
func Generate(args CreateParams) (string, error)
Types ¶
type CreateParams ¶
type CreateResult ¶
type CreateResult struct {
CreateParams CreateParams
ID string
OTP string
}
Click to show internal directories.
Click to hide internal directories.