Documentation ¶
Index ¶
- type HealthcheckHandler
- type HomepageData
- type HomepageHandler
- func (h *HomepageHandler) FetchChangelogs(ctx context.Context, expireSeconds string)
- func (h *HomepageHandler) FetchChangelogsTicker(timerSeconds int)
- func (h *HomepageHandler) FetchRepos(ctx context.Context, expireSeconds string)
- func (h *HomepageHandler) FetchReposTicker(timerSeconds int)
- func (h *HomepageHandler) Http(respWriter http.ResponseWriter, request *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthcheckHandler ¶ added in v0.35.0
type HealthcheckHandler struct{}
func NewHealthcheckHandler ¶ added in v0.35.0
func NewHealthcheckHandler() *HealthcheckHandler
func (*HealthcheckHandler) Http ¶ added in v0.35.0
func (h *HealthcheckHandler) Http(respWriter http.ResponseWriter, request *http.Request)
type HomepageData ¶
type HomepageData struct {
RepoChangelogs []dashboard.DashboardRepoChangelog
}
type HomepageHandler ¶
type HomepageHandler struct { CacheService cache.CacheAdapter DashboardService dashboard.DashboardProvider }
func NewHomepageHandler ¶ added in v0.35.0
func NewHomepageHandler(dashboardService *dashboard.DashboardService, cacheService cache.CacheAdapter) *HomepageHandler
func (*HomepageHandler) FetchChangelogs ¶
func (h *HomepageHandler) FetchChangelogs(ctx context.Context, expireSeconds string)
func (*HomepageHandler) FetchChangelogsTicker ¶
func (h *HomepageHandler) FetchChangelogsTicker(timerSeconds int)
func (*HomepageHandler) FetchRepos ¶
func (h *HomepageHandler) FetchRepos(ctx context.Context, expireSeconds string)
func (*HomepageHandler) FetchReposTicker ¶
func (h *HomepageHandler) FetchReposTicker(timerSeconds int)
func (*HomepageHandler) Http ¶
func (h *HomepageHandler) Http(respWriter http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.