Documentation
¶
Index ¶
- Constants
- Variables
- type Device
- func (c *Device) Close() error
- func (c *Device) CompleteFlow(ctx context.Context, identifier string, sessionIdentifier string) error
- func (c *Device) CreateFlow(ctx context.Context) (string, string, error)
- func (c *Device) ExistsFlow(ctx context.Context, code string) (string, error)
- func (c *Device) PollFlow(ctx context.Context, poll string, pollRate time.Duration) (string, error)
Constants ¶
Variables ¶
View Source
var ( ErrDBIsRequired = errors.New("db is required") ErrCreatingFlow = errors.New("error creating flow") ErrPollingFlow = errors.New("error polling flow") ErrGettingFlow = errors.New("error getting flow") ErrCompletingFlow = errors.New("error completing flow") ErrRateLimitFlow = errors.New("error rate limit") ErrFlowNotCompleted = errors.New("flow not completed") )
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) CompleteFlow ¶
func (*Device) CreateFlow ¶
func (*Device) ExistsFlow ¶
Click to show internal directories.
Click to hide internal directories.