Documentation
¶
Index ¶
- type AdminHandler
- func (h *AdminHandler) ArchiveInvitation(c *echo.Context) error
- func (h *AdminHandler) CreateUser(c *echo.Context) error
- func (h *AdminHandler) DeleteUser(c *echo.Context) error
- func (h *AdminHandler) ListInvitations(c *echo.Context) error
- func (h *AdminHandler) ListUsers(c *echo.Context) error
- func (h *AdminHandler) ResendInvitation(c *echo.Context) error
- func (h *AdminHandler) SendInvitation(c *echo.Context) error
- func (h *AdminHandler) SendPasswordReset(c *echo.Context) error
- func (h *AdminHandler) ShowCreateUser(c *echo.Context) error
- func (h *AdminHandler) ShowEditUser(c *echo.Context) error
- func (h *AdminHandler) ShowInviteForm(c *echo.Context) error
- func (h *AdminHandler) UpdateUser(c *echo.Context) error
- type AdminInvitationRow
- type AdminInvitationsViewData
- type AdminInviteFormViewData
- type AdminUserForm
- type AdminUserFormViewData
- type AdminUsersViewData
- type AppHandler
- type AuthHandler
- func (h *AuthHandler) ForgotPassword(c *echo.Context) error
- func (h *AuthHandler) Refresh(c *echo.Context) error
- func (h *AuthHandler) Register(c *echo.Context) error
- func (h *AuthHandler) RequestAccess(c *echo.Context) error
- func (h *AuthHandler) ResetPassword(c *echo.Context) error
- func (h *AuthHandler) ShowForgotPassword(c *echo.Context) error
- func (h *AuthHandler) ShowRegister(c *echo.Context) error
- func (h *AuthHandler) ShowRequestAccess(c *echo.Context) error
- func (h *AuthHandler) ShowResetPassword(c *echo.Context) error
- func (h *AuthHandler) ShowSignIn(c *echo.Context) error
- func (h *AuthHandler) SignIn(c *echo.Context) error
- func (h *AuthHandler) SignOut(c *echo.Context) error
- type BaseViewData
- type ForgotPasswordViewData
- type HealthHandler
- type HomeViewData
- type InvitationFilterOption
- type InviteRegisterViewData
- type ProfileForm
- type ProfileViewData
- type PublicHandler
- type RegisterForm
- type RegisterViewData
- type RequestAccessForm
- type RequestAccessViewData
- type ResetPasswordViewData
- type SignInForm
- type SignInViewData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminHandler ¶
type AdminHandler struct {
// contains filtered or unexported fields
}
func NewAdminHandler ¶
func NewAdminHandler(users *service.UserService, invitations *service.InvitationService, passwordResets *service.PasswordResetService) *AdminHandler
func (*AdminHandler) ArchiveInvitation ¶
func (h *AdminHandler) ArchiveInvitation(c *echo.Context) error
func (*AdminHandler) CreateUser ¶
func (h *AdminHandler) CreateUser(c *echo.Context) error
func (*AdminHandler) DeleteUser ¶
func (h *AdminHandler) DeleteUser(c *echo.Context) error
func (*AdminHandler) ListInvitations ¶
func (h *AdminHandler) ListInvitations(c *echo.Context) error
func (*AdminHandler) ResendInvitation ¶
func (h *AdminHandler) ResendInvitation(c *echo.Context) error
func (*AdminHandler) SendInvitation ¶
func (h *AdminHandler) SendInvitation(c *echo.Context) error
func (*AdminHandler) SendPasswordReset ¶
func (h *AdminHandler) SendPasswordReset(c *echo.Context) error
func (*AdminHandler) ShowCreateUser ¶
func (h *AdminHandler) ShowCreateUser(c *echo.Context) error
func (*AdminHandler) ShowEditUser ¶
func (h *AdminHandler) ShowEditUser(c *echo.Context) error
func (*AdminHandler) ShowInviteForm ¶
func (h *AdminHandler) ShowInviteForm(c *echo.Context) error
func (*AdminHandler) UpdateUser ¶
func (h *AdminHandler) UpdateUser(c *echo.Context) error
type AdminInvitationRow ¶
type AdminInvitationRow struct {
service.Invitation
RegisterURL string
}
type AdminInvitationsViewData ¶
type AdminInvitationsViewData struct {
BaseViewData
Invitations []AdminInvitationRow
Filter string
FilterOptions []InvitationFilterOption
}
type AdminInviteFormViewData ¶
type AdminInviteFormViewData struct {
BaseViewData
Email string
Error string
}
type AdminUserForm ¶
type AdminUserFormViewData ¶
type AdminUserFormViewData struct {
BaseViewData
Heading string
SubmitLabel string
Action string
CancelURL string
Form AdminUserForm
RoleOptions []service.RoleOption
Error string
}
type AdminUsersViewData ¶
type AdminUsersViewData struct {
BaseViewData
Users []service.User
}
type AppHandler ¶
type AppHandler struct {
// contains filtered or unexported fields
}
func NewAppHandler ¶
func NewAppHandler(users *service.UserService) *AppHandler
func (*AppHandler) ShowProfile ¶
func (h *AppHandler) ShowProfile(c *echo.Context) error
func (*AppHandler) UpdateProfile ¶
func (h *AppHandler) UpdateProfile(c *echo.Context) error
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler( users *service.UserService, invitations *service.InvitationService, passwordResets *service.PasswordResetService, accessRequests *service.AccessRequestService, jwtManager *auth.Manager, requestAccessEnabled bool, ) *AuthHandler
func (*AuthHandler) ForgotPassword ¶
func (h *AuthHandler) ForgotPassword(c *echo.Context) error
func (*AuthHandler) RequestAccess ¶
func (h *AuthHandler) RequestAccess(c *echo.Context) error
func (*AuthHandler) ResetPassword ¶
func (h *AuthHandler) ResetPassword(c *echo.Context) error
func (*AuthHandler) ShowForgotPassword ¶
func (h *AuthHandler) ShowForgotPassword(c *echo.Context) error
func (*AuthHandler) ShowRegister ¶
func (h *AuthHandler) ShowRegister(c *echo.Context) error
func (*AuthHandler) ShowRequestAccess ¶
func (h *AuthHandler) ShowRequestAccess(c *echo.Context) error
func (*AuthHandler) ShowResetPassword ¶
func (h *AuthHandler) ShowResetPassword(c *echo.Context) error
func (*AuthHandler) ShowSignIn ¶
func (h *AuthHandler) ShowSignIn(c *echo.Context) error
type BaseViewData ¶
type ForgotPasswordViewData ¶
type ForgotPasswordViewData struct {
BaseViewData
Email string
Submitted bool
}
type HealthHandler ¶
type HealthHandler struct {
// contains filtered or unexported fields
}
func NewHealthHandler ¶
func NewHealthHandler(db *pgxpool.Pool) *HealthHandler
type HomeViewData ¶
type HomeViewData struct {
BaseViewData
}
type InvitationFilterOption ¶
type InviteRegisterViewData ¶
type InviteRegisterViewData struct {
BaseViewData
Form RegisterForm
Code string
Email string
Error string
}
type ProfileForm ¶
type ProfileViewData ¶
type ProfileViewData struct {
BaseViewData
Form ProfileForm
Error string
}
type PublicHandler ¶
type PublicHandler struct{}
func NewPublicHandler ¶
func NewPublicHandler() *PublicHandler
type RegisterForm ¶
type RegisterViewData ¶
type RegisterViewData struct {
BaseViewData
Form RegisterForm
Error string
}
type RequestAccessForm ¶
type RequestAccessViewData ¶
type RequestAccessViewData struct {
BaseViewData
Form RequestAccessForm
Error string
Submitted bool
}
type ResetPasswordViewData ¶
type ResetPasswordViewData struct {
BaseViewData
Code string
Email string
Error string
}
type SignInForm ¶
type SignInViewData ¶
type SignInViewData struct {
BaseViewData
Form SignInForm
Error string
RequestAccessEnabled bool
}
Click to show internal directories.
Click to hide internal directories.