Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InProgressRegistration ¶
type InProgressRegistration struct { SessionKey string CreatedAt time.Time Firstname string Lastname string Phonenumber string PhoneValidationKey string Email string EmailValidationKey string }
InProgressRegistration represents a (partial) registration object
func New ¶
func New(sessionKey string) *InProgressRegistration
New returns a new in progress registration object
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is used to store organizations
func NewManager ¶
NewManager creates and initializes a new Manager
func (*Manager) DeleteRegisteringUser ¶
DeleteRegisteringUser deletes a registering user
func (*Manager) GetRegisteringUserBySessionKey ¶
func (m *Manager) GetRegisteringUserBySessionKey(sessionKey string) (*InProgressRegistration, error)
GetRegisteringUserBySessionKey returns a user object of an in progress registration
func (*Manager) UpsertRegisteringUser ¶
func (m *Manager) UpsertRegisteringUser(ipr *InProgressRegistration) error
UpsertRegisteringUser creates a new or updates an existing entry in the db for a user currenly registering
Click to show internal directories.
Click to hide internal directories.