2018-02-02 02:31:08 +02:00
|
|
|
// Code generated by "stringer -output stringers.go -type Event,Interrupt"; DO NOT EDIT.
|
2015-04-11 04:28:11 +02:00
|
|
|
|
|
|
|
package authboss
|
|
|
|
|
2018-02-02 02:31:08 +02:00
|
|
|
import "strconv"
|
2015-04-11 04:28:11 +02:00
|
|
|
|
2015-09-22 05:53:51 +02:00
|
|
|
const _Event_name = "EventRegisterEventAuthEventOAuthEventAuthFailEventOAuthFailEventRecoverStartEventRecoverEndEventGetUserEventGetUserSessionEventPasswordReset"
|
2015-04-11 04:28:11 +02:00
|
|
|
|
2018-02-02 02:31:08 +02:00
|
|
|
var _Event_index = [...]uint8{0, 13, 22, 32, 45, 59, 76, 91, 103, 122, 140}
|
2015-04-11 04:28:11 +02:00
|
|
|
|
|
|
|
func (i Event) String() string {
|
2018-02-02 02:31:08 +02:00
|
|
|
if i < 0 || i >= Event(len(_Event_index)-1) {
|
|
|
|
return "Event(" + strconv.FormatInt(int64(i), 10) + ")"
|
2015-04-11 04:28:11 +02:00
|
|
|
}
|
2018-02-02 02:31:08 +02:00
|
|
|
return _Event_name[_Event_index[i]:_Event_index[i+1]]
|
2015-04-11 04:28:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
const _Interrupt_name = "InterruptNoneInterruptAccountLockedInterruptAccountNotConfirmedInterruptSessionExpired"
|
|
|
|
|
2018-02-02 02:31:08 +02:00
|
|
|
var _Interrupt_index = [...]uint8{0, 13, 35, 63, 86}
|
2015-04-11 04:28:11 +02:00
|
|
|
|
|
|
|
func (i Interrupt) String() string {
|
2018-02-02 02:31:08 +02:00
|
|
|
if i < 0 || i >= Interrupt(len(_Interrupt_index)-1) {
|
|
|
|
return "Interrupt(" + strconv.FormatInt(int64(i), 10) + ")"
|
2015-04-11 04:28:11 +02:00
|
|
|
}
|
2018-02-02 02:31:08 +02:00
|
|
|
return _Interrupt_name[_Interrupt_index[i]:_Interrupt_index[i+1]]
|
2015-04-11 04:28:11 +02:00
|
|
|
}
|