Documentation ¶
Index ¶
- func DefaultTemplateFuncs() template.FuncMap
- func Init()
- type Handler
- type HomeHandler
- type ImprintHandler
- type LeaderboardHandler
- type LoginHandler
- func (h *LoginHandler) GetIndex(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) GetResetPassword(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) GetSetPassword(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) GetSignup(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) PostLogin(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) PostLogout(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) PostResetPassword(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) PostSetPassword(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) PostSignup(w http.ResponseWriter, r *http.Request)
- func (h *LoginHandler) RegisterRoutes(router chi.Router)
- type NoopHandler
- type ProjectsHandler
- type SettingsHandler
- type SubscriptionHandler
- func (h *SubscriptionHandler) GetCheckoutCancel(w http.ResponseWriter, r *http.Request)
- func (h *SubscriptionHandler) GetCheckoutSuccess(w http.ResponseWriter, r *http.Request)
- func (h *SubscriptionHandler) PostCheckout(w http.ResponseWriter, r *http.Request)
- func (h *SubscriptionHandler) PostPortal(w http.ResponseWriter, r *http.Request)
- func (h *SubscriptionHandler) PostWebhook(w http.ResponseWriter, r *http.Request)
- func (h *SubscriptionHandler) RegisterRoutes(router chi.Router)
- type SummaryHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTemplateFuncs ¶
Types ¶
type HomeHandler ¶
type HomeHandler struct {
// contains filtered or unexported fields
}
func NewHomeHandler ¶
func NewHomeHandler(userService services.IUserService, keyValueService services.IKeyValueService) *HomeHandler
func (*HomeHandler) GetIndex ¶
func (h *HomeHandler) GetIndex(w http.ResponseWriter, r *http.Request)
func (*HomeHandler) RegisterRoutes ¶
func (h *HomeHandler) RegisterRoutes(router chi.Router)
type ImprintHandler ¶
type ImprintHandler struct {
// contains filtered or unexported fields
}
func NewImprintHandler ¶
func NewImprintHandler(keyValueService services.IKeyValueService) *ImprintHandler
func (*ImprintHandler) GetImprint ¶
func (h *ImprintHandler) GetImprint(w http.ResponseWriter, r *http.Request)
func (*ImprintHandler) RegisterRoutes ¶
func (h *ImprintHandler) RegisterRoutes(router chi.Router)
type LeaderboardHandler ¶
type LeaderboardHandler struct {
// contains filtered or unexported fields
}
func NewLeaderboardHandler ¶
func NewLeaderboardHandler(userService services.IUserService, leaderboardService services.ILeaderboardService) *LeaderboardHandler
func (*LeaderboardHandler) GetIndex ¶
func (h *LeaderboardHandler) GetIndex(w http.ResponseWriter, r *http.Request)
func (*LeaderboardHandler) RegisterRoutes ¶
func (h *LeaderboardHandler) RegisterRoutes(router chi.Router)
type LoginHandler ¶
type LoginHandler struct {
// contains filtered or unexported fields
}
func NewLoginHandler ¶
func NewLoginHandler(userService services.IUserService, mailService services.IMailService, keyValueService services.IKeyValueService) *LoginHandler
func (*LoginHandler) GetIndex ¶
func (h *LoginHandler) GetIndex(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) GetResetPassword ¶
func (h *LoginHandler) GetResetPassword(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) GetSetPassword ¶
func (h *LoginHandler) GetSetPassword(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) GetSignup ¶
func (h *LoginHandler) GetSignup(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) PostLogin ¶
func (h *LoginHandler) PostLogin(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) PostLogout ¶
func (h *LoginHandler) PostLogout(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) PostResetPassword ¶
func (h *LoginHandler) PostResetPassword(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) PostSetPassword ¶
func (h *LoginHandler) PostSetPassword(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) PostSignup ¶
func (h *LoginHandler) PostSignup(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) RegisterRoutes ¶
func (h *LoginHandler) RegisterRoutes(router chi.Router)
type NoopHandler ¶
type NoopHandler struct { }
func NewNoopHandler ¶
func NewNoopHandler() *NoopHandler
func (*NoopHandler) RegisterRoutes ¶
func (n *NoopHandler) RegisterRoutes(r chi.Router)
type ProjectsHandler ¶
type ProjectsHandler struct {
// contains filtered or unexported fields
}
func NewProjectsHandler ¶
func NewProjectsHandler(userService services.IUserService, heartbeatService services.IHeartbeatService) *ProjectsHandler
func (*ProjectsHandler) GetIndex ¶
func (h *ProjectsHandler) GetIndex(w http.ResponseWriter, r *http.Request)
func (*ProjectsHandler) RegisterRoutes ¶
func (h *ProjectsHandler) RegisterRoutes(router chi.Router)
type SettingsHandler ¶
type SettingsHandler struct {
// contains filtered or unexported fields
}
func NewSettingsHandler ¶
func NewSettingsHandler( userService services.IUserService, heartbeatService services.IHeartbeatService, summaryService services.ISummaryService, aliasService services.IAliasService, aggregationService services.IAggregationService, languageMappingService services.ILanguageMappingService, projectLabelService services.IProjectLabelService, keyValueService services.IKeyValueService, mailService services.IMailService, ) *SettingsHandler
func (*SettingsHandler) GetIndex ¶
func (h *SettingsHandler) GetIndex(w http.ResponseWriter, r *http.Request)
func (*SettingsHandler) PostIndex ¶
func (h *SettingsHandler) PostIndex(w http.ResponseWriter, r *http.Request)
func (*SettingsHandler) RegisterRoutes ¶
func (h *SettingsHandler) RegisterRoutes(router chi.Router)
type SubscriptionHandler ¶
type SubscriptionHandler struct {
// contains filtered or unexported fields
}
func NewSubscriptionHandler ¶
func NewSubscriptionHandler( userService services.IUserService, mailService services.IMailService, keyValueService services.IKeyValueService, ) *SubscriptionHandler
func (*SubscriptionHandler) GetCheckoutCancel ¶
func (h *SubscriptionHandler) GetCheckoutCancel(w http.ResponseWriter, r *http.Request)
func (*SubscriptionHandler) GetCheckoutSuccess ¶
func (h *SubscriptionHandler) GetCheckoutSuccess(w http.ResponseWriter, r *http.Request)
func (*SubscriptionHandler) PostCheckout ¶
func (h *SubscriptionHandler) PostCheckout(w http.ResponseWriter, r *http.Request)
func (*SubscriptionHandler) PostPortal ¶
func (h *SubscriptionHandler) PostPortal(w http.ResponseWriter, r *http.Request)
func (*SubscriptionHandler) PostWebhook ¶
func (h *SubscriptionHandler) PostWebhook(w http.ResponseWriter, r *http.Request)
func (*SubscriptionHandler) RegisterRoutes ¶
func (h *SubscriptionHandler) RegisterRoutes(router chi.Router)
type SummaryHandler ¶
type SummaryHandler struct {
// contains filtered or unexported fields
}
func NewSummaryHandler ¶
func NewSummaryHandler(summaryService services.ISummaryService, userService services.IUserService, keyValueService services.IKeyValueService) *SummaryHandler
func (*SummaryHandler) GetIndex ¶
func (h *SummaryHandler) GetIndex(w http.ResponseWriter, r *http.Request)
func (*SummaryHandler) RegisterRoutes ¶
func (h *SummaryHandler) RegisterRoutes(router chi.Router)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.