Documentation ¶
Overview ¶
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Index ¶
- type Handler
- func (x *Handler) AboutShow(w http.ResponseWriter, r *http.Request)
- func (x *Handler) AccessDeniedError(w http.ResponseWriter)
- func (x *Handler) AccountCreate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) AccountDelete(w http.ResponseWriter, r *http.Request)
- func (x *Handler) AccountShowCreate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) BadFormDataError(w http.ResponseWriter, err error, hints ...string)
- func (x *Handler) BadRefIDError(w http.ResponseWriter, reftyp string, err error)
- func (x *Handler) BadRequestError(w http.ResponseWriter, msg string)
- func (x *Handler) BadSessionDataError(w http.ResponseWriter)
- func (x *Handler) CreateEarmarkShowCreateForm(w http.ResponseWriter, r *http.Request)
- func (x *Handler) CreateEventShowAddForm(w http.ResponseWriter, r *http.Request)
- func (x *Handler) DBError(w http.ResponseWriter, err error)
- func (x *Handler) DashboardShow(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EarmarkCreate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EarmarkDelete(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EarmarksList(w http.ResponseWriter, r *http.Request)
- func (x *Handler) Error(w http.ResponseWriter, statusMsg string, code int)
- func (x *Handler) EventCreate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventDelete(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventItemCreate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventItemDelete(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventItemShowCreateForm(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventItemShowEditForm(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventItemSortingUpdate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventItemUpdate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventShow(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventShowEditForm(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventUpdate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) EventsList(w http.ResponseWriter, r *http.Request)
- func (x *Handler) FavoriteAdd(w http.ResponseWriter, r *http.Request)
- func (x *Handler) FavoriteDelete(w http.ResponseWriter, r *http.Request)
- func (x *Handler) FavoritesList(w http.ResponseWriter, r *http.Request)
- func (x *Handler) ForbiddenError(w http.ResponseWriter, msg string)
- func (x *Handler) ForgotPasswordShowForm(w http.ResponseWriter, r *http.Request)
- func (x *Handler) IndexShow(w http.ResponseWriter, r *http.Request)
- func (x *Handler) InternalServerError(w http.ResponseWriter, msg string)
- func (x *Handler) Json(w http.ResponseWriter, code int, payload interface{})
- func (x *Handler) Login(w http.ResponseWriter, r *http.Request)
- func (x *Handler) LoginShowForm(w http.ResponseWriter, r *http.Request)
- func (x *Handler) Logout(w http.ResponseWriter, r *http.Request)
- func (x *Handler) NotFoundError(w http.ResponseWriter)
- func (x *Handler) NotFoundHandler(w http.ResponseWriter, r *http.Request)
- func (x *Handler) NotificationDelete(w http.ResponseWriter, r *http.Request)
- func (x *Handler) NotificationsDeleteAll(w http.ResponseWriter, r *http.Request)
- func (x *Handler) NotificationsList(w http.ResponseWriter, r *http.Request)
- func (x *Handler) PasswordReset(w http.ResponseWriter, r *http.Request)
- func (x *Handler) PasswordResetShowForm(w http.ResponseWriter, r *http.Request)
- func (x *Handler) PostmarkCallback(w http.ResponseWriter, r *http.Request)
- func (x *Handler) ResetPasswordSendEmail(w http.ResponseWriter, r *http.Request)
- func (x *Handler) SettingsAuthApiUpdate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) SettingsAuthUpdate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) SettingsRemindersUpdate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) SettingsShow(w http.ResponseWriter, r *http.Request)
- func (x *Handler) SettingsUpdate(w http.ResponseWriter, r *http.Request)
- func (x *Handler) ShowProfile(w http.ResponseWriter, r *http.Request)
- func (x *Handler) Template(name string) (resources.TExecuter, error)
- func (x *Handler) TemplateError(w http.ResponseWriter)
- func (x *Handler) TemplateExecute(w io.Writer, name string, vars MapSA) error
- func (x *Handler) TemplateExecuteSub(w io.Writer, name, subname string, vars MapSA) error
- func (x *Handler) VerifyEmail(w http.ResponseWriter, r *http.Request)
- func (x *Handler) VerifySendEmail(w http.ResponseWriter, r *http.Request)
- func (x *Handler) WebAuthnBeginLogin(w http.ResponseWriter, r *http.Request)
- func (x *Handler) WebAuthnBeginRegistration(w http.ResponseWriter, r *http.Request)
- func (x *Handler) WebAuthnDeleteKey(w http.ResponseWriter, r *http.Request)
- func (x *Handler) WebAuthnFinishLogin(w http.ResponseWriter, r *http.Request)
- func (x *Handler) WebAuthnFinishRegistration(w http.ResponseWriter, r *http.Request)
- type MapSA
- type Options
- type PostMarkRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) AboutShow ¶ added in v1.0.1
func (x *Handler) AboutShow(w http.ResponseWriter, r *http.Request)
func (*Handler) AccessDeniedError ¶
func (x *Handler) AccessDeniedError(w http.ResponseWriter)
func (*Handler) AccountCreate ¶ added in v1.0.1
func (x *Handler) AccountCreate(w http.ResponseWriter, r *http.Request)
func (*Handler) AccountDelete ¶ added in v1.0.1
func (x *Handler) AccountDelete(w http.ResponseWriter, r *http.Request)
func (*Handler) AccountShowCreate ¶ added in v1.0.1
func (x *Handler) AccountShowCreate(w http.ResponseWriter, r *http.Request)
func (*Handler) BadFormDataError ¶
func (x *Handler) BadFormDataError(w http.ResponseWriter, err error, hints ...string)
func (*Handler) BadRefIDError ¶
func (x *Handler) BadRefIDError(w http.ResponseWriter, reftyp string, err error)
func (*Handler) BadRequestError ¶
func (x *Handler) BadRequestError(w http.ResponseWriter, msg string)
func (*Handler) BadSessionDataError ¶
func (x *Handler) BadSessionDataError(w http.ResponseWriter)
func (*Handler) CreateEarmarkShowCreateForm ¶ added in v1.0.1
func (x *Handler) CreateEarmarkShowCreateForm(w http.ResponseWriter, r *http.Request)
func (*Handler) CreateEventShowAddForm ¶ added in v1.0.1
func (x *Handler) CreateEventShowAddForm(w http.ResponseWriter, r *http.Request)
func (*Handler) DashboardShow ¶ added in v1.0.1
func (x *Handler) DashboardShow(w http.ResponseWriter, r *http.Request)
func (*Handler) EarmarkCreate ¶ added in v1.0.1
func (x *Handler) EarmarkCreate(w http.ResponseWriter, r *http.Request)
func (*Handler) EarmarkDelete ¶ added in v1.0.1
func (x *Handler) EarmarkDelete(w http.ResponseWriter, r *http.Request)
func (*Handler) EarmarksList ¶ added in v1.0.1
func (x *Handler) EarmarksList(w http.ResponseWriter, r *http.Request)
func (*Handler) EventCreate ¶ added in v1.0.1
func (x *Handler) EventCreate(w http.ResponseWriter, r *http.Request)
func (*Handler) EventDelete ¶ added in v1.0.1
func (x *Handler) EventDelete(w http.ResponseWriter, r *http.Request)
func (*Handler) EventItemCreate ¶ added in v1.0.1
func (x *Handler) EventItemCreate(w http.ResponseWriter, r *http.Request)
func (*Handler) EventItemDelete ¶ added in v1.0.1
func (x *Handler) EventItemDelete(w http.ResponseWriter, r *http.Request)
func (*Handler) EventItemShowCreateForm ¶ added in v1.0.1
func (x *Handler) EventItemShowCreateForm(w http.ResponseWriter, r *http.Request)
func (*Handler) EventItemShowEditForm ¶ added in v1.0.1
func (x *Handler) EventItemShowEditForm(w http.ResponseWriter, r *http.Request)
func (*Handler) EventItemSortingUpdate ¶ added in v1.0.1
func (x *Handler) EventItemSortingUpdate(w http.ResponseWriter, r *http.Request)
func (*Handler) EventItemUpdate ¶ added in v1.0.1
func (x *Handler) EventItemUpdate(w http.ResponseWriter, r *http.Request)
func (*Handler) EventShow ¶ added in v1.0.1
func (x *Handler) EventShow(w http.ResponseWriter, r *http.Request)
func (*Handler) EventShowEditForm ¶ added in v1.0.1
func (x *Handler) EventShowEditForm(w http.ResponseWriter, r *http.Request)
func (*Handler) EventUpdate ¶ added in v1.0.1
func (x *Handler) EventUpdate(w http.ResponseWriter, r *http.Request)
func (*Handler) EventsList ¶ added in v1.0.1
func (x *Handler) EventsList(w http.ResponseWriter, r *http.Request)
func (*Handler) FavoriteAdd ¶ added in v1.0.1
func (x *Handler) FavoriteAdd(w http.ResponseWriter, r *http.Request)
func (*Handler) FavoriteDelete ¶ added in v1.0.1
func (x *Handler) FavoriteDelete(w http.ResponseWriter, r *http.Request)
func (*Handler) FavoritesList ¶ added in v1.0.1
func (x *Handler) FavoritesList(w http.ResponseWriter, r *http.Request)
func (*Handler) ForbiddenError ¶
func (x *Handler) ForbiddenError(w http.ResponseWriter, msg string)
func (*Handler) ForgotPasswordShowForm ¶ added in v1.0.1
func (x *Handler) ForgotPasswordShowForm(w http.ResponseWriter, r *http.Request)
func (*Handler) IndexShow ¶ added in v1.0.1
func (x *Handler) IndexShow(w http.ResponseWriter, r *http.Request)
func (*Handler) InternalServerError ¶
func (x *Handler) InternalServerError(w http.ResponseWriter, msg string)
func (*Handler) LoginShowForm ¶ added in v1.0.1
func (x *Handler) LoginShowForm(w http.ResponseWriter, r *http.Request)
func (*Handler) NotFoundError ¶
func (x *Handler) NotFoundError(w http.ResponseWriter)
func (*Handler) NotFoundHandler ¶
func (x *Handler) NotFoundHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) NotificationDelete ¶ added in v1.0.1
func (x *Handler) NotificationDelete(w http.ResponseWriter, r *http.Request)
func (*Handler) NotificationsDeleteAll ¶ added in v1.0.1
func (x *Handler) NotificationsDeleteAll(w http.ResponseWriter, r *http.Request)
func (*Handler) NotificationsList ¶ added in v1.0.1
func (x *Handler) NotificationsList(w http.ResponseWriter, r *http.Request)
func (*Handler) PasswordReset ¶ added in v1.0.1
func (x *Handler) PasswordReset(w http.ResponseWriter, r *http.Request)
func (*Handler) PasswordResetShowForm ¶ added in v1.0.1
func (x *Handler) PasswordResetShowForm(w http.ResponseWriter, r *http.Request)
func (*Handler) PostmarkCallback ¶
func (x *Handler) PostmarkCallback(w http.ResponseWriter, r *http.Request)
func (*Handler) ResetPasswordSendEmail ¶ added in v1.0.1
func (x *Handler) ResetPasswordSendEmail(w http.ResponseWriter, r *http.Request)
func (*Handler) SettingsAuthApiUpdate ¶ added in v1.0.1
func (x *Handler) SettingsAuthApiUpdate(w http.ResponseWriter, r *http.Request)
func (*Handler) SettingsAuthUpdate ¶ added in v1.0.1
func (x *Handler) SettingsAuthUpdate(w http.ResponseWriter, r *http.Request)
func (*Handler) SettingsRemindersUpdate ¶ added in v1.0.1
func (x *Handler) SettingsRemindersUpdate(w http.ResponseWriter, r *http.Request)
func (*Handler) SettingsShow ¶ added in v1.0.1
func (x *Handler) SettingsShow(w http.ResponseWriter, r *http.Request)
func (*Handler) SettingsUpdate ¶ added in v1.0.1
func (x *Handler) SettingsUpdate(w http.ResponseWriter, r *http.Request)
func (*Handler) ShowProfile ¶
func (x *Handler) ShowProfile(w http.ResponseWriter, r *http.Request)
func (*Handler) TemplateError ¶
func (x *Handler) TemplateError(w http.ResponseWriter)
func (*Handler) TemplateExecute ¶
func (*Handler) TemplateExecuteSub ¶
func (*Handler) VerifyEmail ¶
func (x *Handler) VerifyEmail(w http.ResponseWriter, r *http.Request)
func (*Handler) VerifySendEmail ¶ added in v1.0.1
func (x *Handler) VerifySendEmail(w http.ResponseWriter, r *http.Request)
func (*Handler) WebAuthnBeginLogin ¶
func (x *Handler) WebAuthnBeginLogin(w http.ResponseWriter, r *http.Request)
func (*Handler) WebAuthnBeginRegistration ¶
func (x *Handler) WebAuthnBeginRegistration(w http.ResponseWriter, r *http.Request)
func (*Handler) WebAuthnDeleteKey ¶ added in v1.0.1
func (x *Handler) WebAuthnDeleteKey(w http.ResponseWriter, r *http.Request)
func (*Handler) WebAuthnFinishLogin ¶
func (x *Handler) WebAuthnFinishLogin(w http.ResponseWriter, r *http.Request)
func (*Handler) WebAuthnFinishRegistration ¶
func (x *Handler) WebAuthnFinishRegistration(w http.ResponseWriter, r *http.Request)
type Options ¶
type Options struct { Db model.PgxHandle `validate:"required"` Redis *redis.Client `validate:"required"` Templates resources.TGetter `validate:"required"` SessMgr session.SessionManager `validate:"required"` Mailer mail.MailSender `validate:"required"` HMACKeyBytes []byte `validate:"required"` BaseURL string `validate:"required"` IsProd bool }