confirm

package
v0.0.0-...-14b491e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UserTOTPSecretNotExist = errors.New("user totp secret not exist")
)

Functions

func NewConfirm

func NewConfirm(word string, config *configuration.Config) (bearychat.Trigger, error)

func NewTOTPConfirm

func NewTOTPConfirm(word string, config *configuration.Config) (bearychat.Trigger, error)

Types

type Confirm

type Confirm struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Confirm) Handle

func (p *Confirm) Handle(req *bearychat.OutgoingRequest, msg *bearychat.Message) (err error)

type TOTPConfirm

type TOTPConfirm struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*TOTPConfirm) Handle

func (p *TOTPConfirm) Handle(req *bearychat.OutgoingRequest, msg *bearychat.Message) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL